Difference between revisions of "Gedit-Text-Editor/C2/Common-Edit-Functions/English-timed"
From Script | Spoken-Tutorial
(2 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
|- | |- | ||
| 00:15 | | 00:15 | ||
− | |We will learn to: | + | |We will learn to: |
+ | ''' Cut, Copy ''' and ''' Paste ''' content | ||
+ | |||
+ | ''' Undo ''' and ''' Redo ''' actions | ||
+ | |||
+ | '''Search ''' and ''' Replace ''' text. | ||
|- | |- | ||
Line 21: | Line 26: | ||
|- | |- | ||
| 00:29 | | 00:29 | ||
− | |To record this tutorial, I am using: ''' Ubuntu Linux ''' 14.04 operating system ''' gedit ''' | + | |To record this tutorial, I am using: |
+ | ''' Ubuntu Linux ''' 14.04 operating system , ''' gedit '''3.10 | ||
|- | |- | ||
| 00:39 | | 00:39 | ||
− | |To follow this tutorial, you should have working knowledge of any operating system. | + | |To follow this tutorial, you should have working knowledge of any '''operating system'''. |
|- | |- | ||
Line 37: | Line 43: | ||
|- | |- | ||
| 00:55 | | 00:55 | ||
− | |Let’s do so by clicking the icon in the toolbar with the icon labelled | + | |Let’s do so by clicking the '''icon''' in the toolbar with the icon labelled '''Open'''. |
|- | |- | ||
| 01:01 | | 01:01 | ||
− | |This is the shortcut icon to open an existing file. | + | |This is the '''shortcut icon''' to open an existing file. |
|- | |- | ||
Line 81: | Line 87: | ||
|- | |- | ||
| 01:51 | | 01:51 | ||
− | |Alternately, we can press ''' Ctrl + X ''' keys together to cut the text. | + | |Alternately, we can press ''' Ctrl + X ''' keys together to '''cut''' the text. |
|- | |- | ||
Line 89: | Line 95: | ||
|- | |- | ||
| 02:03 | | 02:03 | ||
− | |Please note however that this text is not deleted. | + | |Please note, however, that this text is not deleted. |
|- | |- | ||
Line 97: | Line 103: | ||
|- | |- | ||
| 02:13 | | 02:13 | ||
− | |The ''' Clipboard ''' stores content that is either cut or copied | + | |The ''' Clipboard ''' stores content that is either cut or copied. |
|- | |- | ||
| 02:18 | | 02:18 | ||
− | |Content is stored temporarily until it is pasted or other content is copied | + | |Content is stored temporarily until it is pasted or other content is copied. |
|- | |- | ||
Line 129: | Line 135: | ||
|- | |- | ||
| 02:53 | | 02:53 | ||
− | |Alternately, we can press ''' Ctrl + V ''' keys together to paste the text. | + | |Alternately, we can press ''' Ctrl + V ''' keys together to '''paste''' the text. |
|- | |- | ||
| 03:00 | | 03:00 | ||
− | |Or use the ''' Paste ''' icon in the ''' Toolbar '''. | + | |Or, use the ''' Paste ''' icon in the ''' Toolbar '''. |
|- | |- | ||
Line 145: | Line 151: | ||
|- | |- | ||
| 03:14 | | 03:14 | ||
− | |Now, let's select the remaining students details and make a copy of this. | + | |Now, let's select the remaining students' details and make a copy of this. |
|- | |- | ||
Line 181: | Line 187: | ||
|- | |- | ||
| 03:56 | | 03:56 | ||
− | |This is a simple and effective way to cut, copy and paste content in ''' gedit '''. | + | |This is a simple and effective way to '''cut, copy''' and '''paste''' content in ''' gedit '''. |
|- | |- | ||
Line 201: | Line 207: | ||
|- | |- | ||
| 04:23 | | 04:23 | ||
− | |The keyboard shortcut for ''' Undo is Ctrl + Z ''' | + | |The keyboard shortcut for ''' Undo is Ctrl + Z '''. |
|- | |- | ||
Line 209: | Line 215: | ||
|- | |- | ||
| 04:31 | | 04:31 | ||
− | |The ''' Redo ''' command reverses the Undo action. | + | |The ''' Redo ''' command reverses the '''Undo''' action. |
|- | |- | ||
| 04:35 | | 04:35 | ||
− | |The keyboard shortcut for ''' Redo ''' is ''' Shift + Ctrl + Z | + | |The keyboard shortcut for ''' Redo ''' is ''' Shift + Ctrl + Z'''. |
|- | |- | ||
| 04:41 | | 04:41 | ||
− | |Now | + | |Now switch to '''gedit Text editor''' . |
|- | |- | ||
Line 269: | Line 275: | ||
|- | |- | ||
| 05:42 | | 05:42 | ||
− | |Let’s redo our action one more time. | + | |Let’s '''redo''' our action one more time. |
|- | |- | ||
Line 277: | Line 283: | ||
|- | |- | ||
| 05:50 | | 05:50 | ||
− | |We can also use the ''' | + | |We can also use the ''' Redo ''' icon in the ''' Toolbar ''' . |
|- | |- | ||
| 05:55 | | 05:55 | ||
Line 296: | Line 302: | ||
|- | |- | ||
| 06:17 | | 06:17 | ||
− | |Search function allows to search for one or all instances of the word, in the entire document. | + | |'''Search''' function allows to search for one or all instances of the word, in the entire document. |
|- | |- | ||
| 06:24 | | 06:24 | ||
− | |Let | + | |Let us Switch back to ''' gedit Text editor ''' . |
|- | |- | ||
Line 328: | Line 334: | ||
|- | |- | ||
| 06:58 | | 06:58 | ||
− | |Or use the ''' Search for text ''' icon in the ''' Toolbar''' . | + | |Or, use the ''' Search for text ''' icon in the ''' Toolbar''' . |
|- | |- | ||
Line 335: | Line 341: | ||
|- | |- | ||
− | | | + | | 07:07 |
|In the ''' Find ''' Box, type the word ''' School ''' . | |In the ''' Find ''' Box, type the word ''' School ''' . | ||
Line 348: | Line 354: | ||
|- | |- | ||
| 07:24 | | 07:24 | ||
− | |Now place the cursor on the ''' Find ''' box and right click the mouse. | + | |Now place the cursor on the ''' Find ''' box and right-click the '''mouse'''. |
|- | |- | ||
Line 356: | Line 362: | ||
|- | |- | ||
| 07:34 | | 07:34 | ||
− | | | + | | Only one word matches the case option. That is, capital 'S' in the word '''School'''. . |
|- | |- | ||
| 07:41 | | 07:41 | ||
− | |Again, place the cursor on the ''' Find ''' box and right click the ''' mouse '''. | + | |Again, place the cursor on the ''' Find ''' box and right-click the ''' mouse '''. |
Uncheck the ''' Match Case ''' option. | Uncheck the ''' Match Case ''' option. | ||
Line 369: | Line 375: | ||
|- | |- | ||
| 07:56 | | 07:56 | ||
− | |Alternately, we can press ''' Ctrl + H | + | |Alternately, we can press ''' Ctrl + H''' keys together. Or, use the ''' Search for and replace text''' icon in the ''' Toolbar '''. |
|- | |- | ||
| 08:08 | | 08:08 | ||
− | | ''' Replace ''' dialog box appears. | + | | ''' Replace ''' dialog-box appears. |
|- | |- | ||
| 08:11 | | 08:11 | ||
− | |In the ''' Search for ''' field, type | + | |In the ''' Search for ''' field, type "schools" and press ''' Enter '''. |
|- | |- | ||
| 08:17 | | 08:17 | ||
− | |In the ''' Replace with ''' box, type | + | |In the ''' Replace with ''' box, type "colleges". Check the ''' Match entire word only ''' check-box. |
|- | |- | ||
Line 409: | Line 415: | ||
|- | |- | ||
| 08:56 | | 08:56 | ||
− | |Press ''' Ctrl ''' and F keys together to open the Find box. | + | |Press '''Ctrl''' and '''F''' keys together to open the '''Find''' box. |
|- | |- | ||
| 09:01 | | 09:01 | ||
− | |Now, in the ''' Find ''' box, start typing | + | |Now, in the ''' Find''' box, start typing "Students" . |
|- | |- | ||
Line 429: | Line 435: | ||
|- | |- | ||
| 09:25 | | 09:25 | ||
− | |Select ''' File ''' from the''' Menu bar ''' and then ''' Print ''' | + | |Select ''' File ''' from the''' Menu bar ''' and then ''' Print '''. |
|- | |- | ||
Line 437: | Line 443: | ||
|- | |- | ||
| 09:35 | | 09:35 | ||
− | |''' Print ''' dialog box appears. | + | |''' Print ''' dialog-box appears. |
|- | |- | ||
Line 461: | Line 467: | ||
|- | |- | ||
| 10:05 | | 10:05 | ||
− | |In this tutorial, we learnt about: | + | |In this tutorial, we learnt about: |
− | Cut, Copy and Paste | + | |
− | Undo and Redo | + | Cut, Copy and Paste, Undo and Redo, Search and Replace text and Print options. |
− | Search and Replace text and Print options | + | |
|- | |- | ||
Line 476: | Line 481: | ||
|- | |- | ||
| 10:23 | | 10:23 | ||
− | |Copy the first paragraph and paste it in a new document. | + | |Copy the first paragraph and '''paste''' it in a new document. |
|- | |- | ||
| 10:27 | | 10:27 | ||
− | |Save the new document as ''' SchoolNew.txt ''' | + | |Save the new document as ''' SchoolNew.txt '''. |
|- | |- | ||
| 10:32 | | 10:32 | ||
− | |Type the heading as | + | |Type the heading as "About School" in the first line. '''Undo''' the changes. |
|- | |- | ||
| 10:38 | | 10:38 | ||
− | |Note the changes in the contents of the file | + | |Note the changes in the contents of the file. |
|- | |- | ||
| 10:42 | | 10:42 | ||
− | |The video at the following link summarises the Spoken Tutorial project. Please download and watch it. | + | |The video at the following link summarises the '''Spoken Tutorial''' project. Please download and watch it. |
|- | |- | ||
Line 512: | Line 517: | ||
|- | |- | ||
| 11:07 | | 11:07 | ||
− | |Explain your question briefly.Someone from our team will answer them. | + | |Explain your question briefly. Someone from our team will answer them. |
|- | |- | ||
Line 524: | Line 529: | ||
|- | |- | ||
| 11:25 | | 11:25 | ||
− | |This is Nirmala Venkat from IIT Bombay, signing off. Thanks for watching. | + | |This is Nirmala Venkat from '''IIT Bombay''', signing off. Thanks for watching. |
|} | |} |
Latest revision as of 15:34, 26 April 2019
Time | Narration |
00:01 | Welcome to the Spoken Tutorial on Common Edit Functions in gedit Text editor . |
00:08 | In this tutorial, we will learn about editing functions that we use frequently in gedit . |
00:15 | We will learn to:
Cut, Copy and Paste content Undo and Redo actions Search and Replace text. |
00:25 | We will also learn to Print our document. |
00:29 | To record this tutorial, I am using:
Ubuntu Linux 14.04 operating system , gedit 3.10 |
00:39 | To follow this tutorial, you should have working knowledge of any operating system. |
00:44 | Let's open the gedit Text editor . |
00:48 | Now open the file Students.txt which we created earlier. |
00:55 | Let’s do so by clicking the icon in the toolbar with the icon labelled Open. |
01:01 | This is the shortcut icon to open an existing file. |
01:06 | Open Files dialog box appears. |
01:09 | Select the Desktop folder on the right hand side. |
01:12 | Select the file Students.txt and click Open . |
01:17 | Now, let's learn how to cut, copy and paste the text. |
01:22 | First, we need to select the text that we want to cut or copy . |
01:27 | I want to cut the first three students details from this file. |
01:32 | To select the first three student details, click and drag the cursor across those three lines. |
01:39 | Now, the text is selected. |
01:42 | We can use the Cut icon in the Toolbar . Or From the Main menu, select Edit and Cut . |
01:51 | Alternately, we can press Ctrl + X keys together to cut the text. |
01:58 | Notice that the selected text is no longer visible in the file. |
02:03 | Please note, however, that this text is not deleted. |
02:08 | It is stored in a part of the computer's memory known as the clipboard . |
02:13 | The Clipboard stores content that is either cut or copied. |
02:18 | Content is stored temporarily until it is pasted or other content is copied. |
02:25 | Clipboard content is deleted from memory once you exit gedit . |
02:31 | Switch back to gedit . |
02:34 | Let us now paste this text in a new document. |
02:38 | From the Main menu, click File and New . |
02:42 | A new document named Untitled Document 1 opens in the gedit window. |
02:47 | Now, from the Main menu, select Edit and Paste . |
02:53 | Alternately, we can press Ctrl + V keys together to paste the text. |
03:00 | Or, use the Paste icon in the Toolbar . |
03:04 | The text from the Students dot txt gets pasted into this document. |
03:11 | Select the tab Students.txt . |
03:14 | Now, let's select the remaining students' details and make a copy of this. |
03:20 | From the Main menu, select Edit and Copy . |
03:24 | We can also use the keyboard shortcut Ctrl + C to copy the content. |
03:30 | Notice that the copied text is still visible. |
03:34 | This text is also stored in the clipboard . |
03:38 | Select the tab Untitled Document 1. |
03:42 | Place the cursor after the third line and press Enter . |
03:46 | Now, right-click for the context menu and select Paste . |
03:52 | The content is pasted in the specified location. |
03:56 | This is a simple and effective way to cut, copy and paste content in gedit . |
04:04 | Next we will see Undo and Redo options. |
04:07 | gedit Text editor allows to Undo any changes that are made in a file. |
04:13 | Basically, it erases the last change done to the document. |
04:18 | This is useful when you have made a mistake and want to Undo it. |
04:23 | The keyboard shortcut for Undo is Ctrl + Z . |
04:27 | The opposite of Undo is Redo . |
04:31 | The Redo command reverses the Undo action. |
04:35 | The keyboard shortcut for Redo is Shift + Ctrl + Z. |
04:41 | Now switch to gedit Text editor . |
04:44 | Right-click and select Undo . |
04:47 | The text that we copy and pasted, is no longer visible. |
04:52 | The copy-paste action has been undone. |
04:56 | Let’s undo once again. This time, press Ctrl + Z keys together. |
05:04 | We can see the cursor jumps back to the end of the third line. |
05:09 | The previous action has been undone now. |
05:13 | Right-click and select Undo again. |
05:17 | The first three lines that we pasted earlier are also no longer visible. |
05:23 | We can also use the Undo icon in the Toolbar . |
05:28 | This is how we can undo all the actions we did so far. |
05:34 | Now, how can we get back the text again? |
05:38 | Simple! Right-click and select Redo . |
05:42 | Let’s redo our action one more time. |
05:45 | This time let’s press Shift + Ctrl + Z keys. |
05:50 | We can also use the Redo icon in the Toolbar . |
05:55 | We got back the text again. |
05:57 | And now, we can see only the student details from Students.txt files is copied in our gedit window. |
06:06 | Next, we will see the Search and Replace options. |
06:10 | It’s difficult to search for a particular word in a file, that has hundred lines of text. |
06:17 | Search function allows to search for one or all instances of the word, in the entire document. |
06:24 | Let us Switch back to gedit Text editor . |
06:28 | Let me open a document school.txt which I have already created earlier. |
06:34 | The school.txt file is available in the Codefile link along with this tutorial. |
06:40 | Download and use that text document. |
06:44 | In this document, I want to search for a particular word. |
06:48 | To do so, from the Main menu, click on Search then Find . |
06:53 | Alternately, we can press Ctrl + F keys together. |
06:58 | Or, use the Search for text icon in the Toolbar . |
07:02 | Find box opens at the top right corner of the window. |
07:07 | In the Find Box, type the word School . |
07:11 | Observe that all instances of the word school are highlighted in yellow color in the document. |
07:18 | The first occurrence of the word school is highlighted in brown color. |
07:24 | Now place the cursor on the Find box and right-click the mouse. |
07:29 | From the list of options that appears, click on Match Case . |
07:34 | Only one word matches the case option. That is, capital 'S' in the word School. . |
07:41 | Again, place the cursor on the Find box and right-click the mouse .
Uncheck the Match Case option. |
07:50 | Now, from the Main menu, click Search and then on Replace . |
07:56 | Alternately, we can press Ctrl + H keys together. Or, use the Search for and replace text icon in the Toolbar . |
08:08 | Replace dialog-box appears. |
08:11 | In the Search for field, type "schools" and press Enter . |
08:17 | In the Replace with box, type "colleges". Check the Match entire word only check-box. |
08:26 | We can see, all the schools words are highlighted in yellow color. |
08:31 | Click on Replace button. |
08:34 | This will replace the first occurrence of schools with colleges . |
08:39 | Click on Replace All button to replace all the occurrences of schools with colleges . |
08:46 | Click on Close button to close the window. |
08:50 | gedit Text editor also allows us to search as we type. |
08:56 | Press Ctrl and F keys together to open the Find box. |
09:01 | Now, in the Find box, start typing "Students" . |
09:06 | Notice that as we type the first letter S the cursor highlights all the S letters in the document. |
09:14 | Finally, the entire word Students is highlighted when we finish typing. |
09:20 | Next we will see how to print the school.txt file. |
09:25 | Select File from the Menu bar and then Print . |
09:30 | We can also click on the Print icon in the Toolbar . |
09:35 | Print dialog-box appears. |
09:38 | If a printer is connected to your machine, it will be listed under the Printer details here. |
09:44 | The tabs and selections in this window will be as per the default configuration settings. |
09:50 | To print your document, click on the Print button at the bottom right. |
09:55 | If the printer configurations are correct, then your document will get printed. |
10:00 | This brings us to the end of this tutorial. Let us summarise. |
10:05 | In this tutorial, we learnt about:
Cut, Copy and Paste, Undo and Redo, Search and Replace text and Print options. |
10:16 | Here is an assignment for you- |
10:19 | Open the School.txt file in gedit . |
10:23 | Copy the first paragraph and paste it in a new document. |
10:27 | Save the new document as SchoolNew.txt . |
10:32 | Type the heading as "About School" in the first line. Undo the changes. |
10:38 | Note the changes in the contents of the file. |
10:42 | The video at the following link summarises the Spoken Tutorial project. Please download and watch it. |
10:49 | The Spoken Tutorial Project team: conducts workshops and gives certificates. |
10:54 | For more details, please write to us. |
10:58 | Do you have questions in THIS Spoken Tutorial? Please visit this site. |
11:03 | Choose the minute and second where you have the question. |
11:07 | Explain your question briefly. Someone from our team will answer them. |
11:13 | Spoken Tutorial project is funded by NMEICT, MHRD, Government of India. |
11:20 | More information on this mission is available at this link. |
11:25 | This is Nirmala Venkat from IIT Bombay, signing off. Thanks for watching. |