Difference between revisions of "Edit menu"
Line 92: | Line 92: | ||
====Complete Word (Ctrl+D)==== | ====Complete Word (Ctrl+D)==== | ||
− | Tries to complete an ''(unfinished)'' word according to the dictionary calculated from the actual document. | + | Tries to complete an ''(unfinished)'' word according to the dictionary calculated from the actual document. E.g. Completes word {{string|hel}} to {{string|hello}}, i there was a {{string|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 {{defined|word letters}} appended. Matching words are {{defined|uniqued}} and displayed in a listbox to be chosen for the completion. | |
− | 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 {{defined|word letters}} appended. Matching words are {{defined|uniqued}} and displayed in a listbox to be chosen for the completion. | ||
Note, that the document must already contain the word {{string|hello}} to be able to complete pattern {{string|hel}} to {{string|hello}}. Furthermore, if the document contains word {{string|help}} too, the pattern {{string|hel}} can be completed to both {{string|hello}} and {{string|help}}. User may always choose, which one, from a dialog. | Note, that the document must already contain the word {{string|hello}} to be able to complete pattern {{string|hel}} to {{string|hello}}. Furthermore, if the document contains word {{string|help}} too, the pattern {{string|hel}} can be completed to both {{string|hello}} and {{string|help}}. User may always choose, which one, from a dialog. | ||
Line 103: | Line 100: | ||
The search for matching words is performed with {{defined|ignoring case}}, but matching words are then {{defined|uniqued}} in a {{defined|case sensitive}} way, therefore completion of pattern {{string|hel}} may result in matches like: {{string|Hello}}, {{string|hello}}, {{string|help}} and also {{string|HELL}}. | The search for matching words is performed with {{defined|ignoring case}}, but matching words are then {{defined|uniqued}} in a {{defined|case sensitive}} way, therefore completion of pattern {{string|hel}} may result in matches like: {{string|Hello}}, {{string|hello}}, {{string|help}} and also {{string|HELL}}. | ||
− | Optionally, matching words can be sorted alphabetically in the {{ | + | Optionally, matching words can be sorted alphabetically in the {{dialog|Complete Word}} dialog. Otherwise, if unsorted, their order is the same as they precede the caret. Therefeore, when typing a sentence {{string|What a word can cause to the wide wild world.}} and then trying to complete a pattern {{string|w}} in a next sentence, matching words would follow as: {{string|world}}, {{string|wild}}, {{string|wide}}, {{string|word}} and {{string|What}}. For details on turning the sorting on in this dialog, see [[Settings dialog]]. |
− | Note: | + | Note: The pattern is a part of a word just preceding the actual caret position. Therefore, no selection is allowed. Furthermore, when |
− | The pattern is a part of a word just preceding the actual caret | + | completion is invoked inside of a word, only the preceding part of this word is taken as a pattern. |
− | 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 {{defined|white-space}} or some other {{defined|non-word}} | + | Note: When a word completion is about to be used without a preceding word (e.g. the caret is placed after a {{defined|white-space}} or some other {{defined|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. |
− | 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. | ||
− | <small>{{tip|Not very useful tip:}} | + | <small>{{tip|Not very useful tip:}} When you have the dialog shown, you may type the word you want instead of manually finding it. Unfortunatelly, by now, you will have to repeat the pattern part of the word as well. I hope, one day, this will be a bit better :)</small> |
− | + | {{mycomment|Problem je asik v tom, ze som ten tip hore najskuor napisal a az potom som si uvedomil, ze bych to sam nikdy nepouzil... Tak som pred to este dopisal, ze not very useful.. stava sa :)}} | |
− | |||
− | |||
− | |||
− | |||
− | {{mycomment|Problem je asik v tom, ze | ||
− | som ten tip hore najskuor napisal a az potom som si uvedomil, ze bych | ||
− | to sam nikdy nepouzil... Tak som pred to este dopisal, ze not very | ||
− | useful.. stava sa :)}} |
Revision as of 19:26, 1 March 2006
This section is incomplete and wants to be finished later. |
TODO: This section is currently under contruction. See manual for more refference. |
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.
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.
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... :-)
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.
Tip: When you have the dialog shown, you may type the word you want instead of manually finding it. Unfortunatelly, by now, you will have to repeat the pattern part of the word as well. I hope, one day, this will be a bit better :)
Problem je asik v tom, ze som ten tip hore najskuor napisal a az potom som si uvedomil, ze bych to sam nikdy nepouzil... Tak som pred to este dopisal, ze not very useful.. stava sa :)