Difference between revisions of "Edit menu"
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
+ | |||
====Undo (Ctrl+Z)==== | ====Undo (Ctrl+Z)==== | ||
Revision as of 19:33, 1 March 2006
Undo (Ctrl+Z)
Undoes the last action.
Template:Specific Tip: A multi-level Undo feature is available. See chapter RichEdit clone.
Redo (Ctrl+Y)
Template:Specific Redoes the last undone action. See chapter RichEdit clone.
Cut (Ctrl+X) (Shift+Del)
Deletes the selection and puts it into the Clipboard.
Copy (Ctrl+C) (Ctrl+Ins)
Copies the selection into the Clipboard.
Paste (Ctrl+V) (Shift+Ins)
Pastes the content of the Clipboard to the actual insertion point
or replaces the selection, if any.
Swap (Ctrl+K) (Ctrl+Shift+Ins)
Copies the selection into the Clipboard and replaces the selection with previous content of the Clipboard. If no selection is found, it works the same way as Paste does.
Tip: It is useful to rotate several pieces from the document without having to put one of them aside for that while. Imagine that you have two words and you need to swap them. Just select the first of them, use Copy and then use Swap (hotkey Ctrl+K) on the other one. Finally, go back to the first one and use Paste. This way you can rotate as much things as you need.
Go To... (Ctrl+G)
Shows the Go to dialog and then moves the caret to a specified location.
Tip: An optional setting may adapt the [[Control:Button:Go to Line:{{{2}}}|{{{2}}}]] behavior when the lines are wrapped. See chapter Settings dialog for more details.
Template:Specific There is a difference in the RE clone in the [[Control:Button:Go to Char:{{{2}}}|{{{2}}}]] behavior. See chapter RichEdit clone for more details.
Select All (Ctrl+A)
Selects all text in the document.
Select Word (Ctrl+Space)
Selects an entire word
, all white-spaces
or a single character otherwise, according to what begins or continues to the right from the actual insertion point
. If there was a selection before, it is de-selected and then a new selection is made. Therefore, if this feature is used subsequently several times, the selection will crawl through the text, word
-by-word
.
Tip: If you need to select a word
, but the double-click on the text selects a lot more than you wish, use this Select Word (hotkey Ctrl+Space) that behaves more softly in this manner.
Tip: If you are using Ctrl+Right Arrow to jump through words
, but the jumps are too long, try this Select Word (hotkey Ctrl+Space) that behaves more softly in this manner. Note, that you will have to de-select the text, once you reach the desired position.
Add Next Word (Ctrl+Shift+Space)
Uses Select Word feature (see above), but does not de-select the selection, if any. It extends the actual selection instead.
Tip: If you need to select several words
, but the double-click on the text selects a lot more than you wish, use this Add Next Word (hotkey Ctrl+Shift+Space) that behaves more softly in this manner.
Delete Word (Ctrl+Del)
Deletes the selection, if any, and then a word
, all white-spaces
or a single character otherwise, according to what begins or continues to the right from the actual insertion point
.
BkSpace Word (Ctrl+BkSpace)
Deletes the selection, if any, and then a word
, all white-spaces
or a single character otherwise, according to what begins or continues to the left from the actual insertion point
.
Obcas mam pocit, ze pisem uplne predpokladatelne, ale zaroven sprosto popisatelne veci o veciach, ktore su i tak vsetkym intuitivne jasne. Zaujimalo by ma, ci bezny uzivatel skor pochopil intuitivny nazov typu BkSpace Word, alebo ten divny definicny popis, mimochodom plne korektny, co som zo seba prave vypotil... :-)
Delete Line
This section is incomplete and wants to be finished later. |
TODO: Describe this feature. |
Truncate Line
This section is incomplete and wants to be finished later. |
TODO: Describe this feature. |
BkSpace Line
This section is incomplete and wants to be finished later. |
TODO: Describe this feature. |
Smart Return (Ctrl+Enter)
Auto-indents the text after returning to a new line by replicating all white-spaces
from a first non-empty previous line. The replication stops, when the previous insertion point
is reached or any non-white-space
character is found.
Note: Usually within TED Notepad, a non-empty
line means a line that contains no graphs
. This is not the case with this feature. Smart Return always replicates white-spaces
from a first previous line, that is of non-zero length.
Tip: When you are writing a list and you want each item to be indented (i.e. have some spaces at the beginning), type those spaces while writting the first item. TED Notepad will learn, how much of them you actually want for the list. Then hit Ctrl+Enter key combination each time you would have used the Enter key. This way, each line would contain spaces copied from the previous line, thus all lines of the list would be indented.
Versions note: The indentation works regardless to word wrapping, but only in versions of 5.0.1 and above. Prior to version 5.0.1, this feature worked with previous line according to the actual word wrapping.
Copying Return (Ctrl+Shift+Enter)
After returning to a new line, copies all characters from the first non-empty previous line, up to the previos insertion point
.
Note: Usually within TED Notepad, a non-empty
line means a line that contains no graphs
. This is not the case with this feature. Copying Return always replicates white-spaces
from a first previous line, that is of non-zero length.
Tip: If you are writting a list and each of the lines starts with the same text (e.g. the same html tags), you may try to type the part of the line, that is the same for all of the lines and then hit Copying Return (hotkey Ctrl+Shift+Enter) subsequently several times. The text you have typed on the first line will be easily copied to several new lines this way. Then you may return to the first line and type the rest of it. When finished, use Ctrl+Down Arrow to move to the end of a next line.
Note: Ctrl+Down Arrow moves the caret to the next line regardless to any actual word wrapping, to a corresponding position. If you will use the technique described above, the next line shall always be short enough for the Ctrl+Down Arrow to move the caret to the very end of a next line.
Note: Copying Return feature is disabled, when the selection is not empty, because the results would be usually undefined or unwanted according to the selection.
Versions note: The indentation works regardless to word wrapping, but only in versions of 5.0.1 and above. Prior to version 5.0.1, this feature worked with previous line according to the actual word wrapping.
Copy Word Above
This section is incomplete and wants to be finished later. |
TODO: Describe this feature. |
Copy Similar Line
This section is incomplete and wants to be finished later. |
TODO: Describe this feature. |
Complete Word (Ctrl+D)
Tries to complete an (unfinished) word according to the dictionary calculated from the actual document. E.g. Completes word hel to hello, i there was a hello already in the document.
More accurately, it takes a word just before the caret as a pattern and then searches the entire document for any matching words that consist from that pattern plus some more word letters
appended. Matching words are uniqued
and displayed in a listbox to be chosen for the completion.
Note, that the document must already contain the word hello to be able to complete pattern hel to hello. Furthermore, if the document contains word help too, the pattern hel can be completed to both hello and help. User may always choose, which one, from a dialog.
The search for matching words is performed with ignoring case
, but matching words are then uniqued
in a case sensitive
way, therefore completion of pattern hel may result in matches like: Hello, hello, help and also HELL.
Optionally, matching words can be sorted alphabetically in the Complete Word dialog. Otherwise, if unsorted, their order is the same as they precede the caret. Therefeore, when typing a sentence What a word can cause to the wide wild world. and then trying to complete a pattern w in a next sentence, matching words would follow as: world, wild, wide, word and What. For details on turning the sorting on in this dialog, see Settings dialog.
Note: The pattern is a part of a word just preceding the actual caret position. Therefore, no selection is allowed. Furthermore, when completion is invoked inside of a word, only the preceding part of this word is taken as a pattern.
Note: When a word completion is about to be used without a preceding word (e.g. the caret is placed after a white-space
or some other non-word
character), all words in the document are matching. The complete word listing returned in such case may be quite lengthy, therefore, use this feature carefully on very big files.