Edit menu
This section may contain incomplete, premature, or mistaken information, prone to change without notice.
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.
To jump relatively to the current position, check Jump relatively.
To select the text that lies between the current position and the new specified location, check Select leaped text. If there is some text already selected, the selection is extended only. Therefore, if the specified location is inside the actual selection, nothing happens.
Tip: Combination of Jump relatively and Select leaped text can help to easily select text of specific length.
Tip: An optional setting may adapt the [[Control:Button:Go to Line:{{{2}}}|{{{2}}}]] behavior when the lines are wrapped. See chapter General page of the 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 Line (Ctrl+Num*)
Selects the entire line, which contain the actual insertion point
; or adds another line to the selection, if any.
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 (Alt+Del)
Deletes the actual line. If there is any selection it is deleted as well.
Note: If a selection is made from a middle of one line and extends to a middle of another one, the entire selection is deleted and then the rest of the last line. This is similar to deleting the selection at first and then using Truncate Line below.
Truncate Line (Ctrl+Shift+Del)
Deletes all characters from the actual insertion point
up to the end of the line. If there is any selection, it is deleted as well. If the line is wrapped due to actual word wrapping, it is deleted only up to the point, where it was wrapped.
BkSpace Line (Ctrl+Shift+BkSpace)
Deletes all characters from the actual insertion point
up to the beginning of the line. If there is any selection, it is deleted as well. If the line is wrapped due to actual word wrapping, it is deleted only up to the point, where it was wrapped.
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 (Alt+Ctrl+Space)
Takes the rest of the word that is above the actual insertion point
and copies it into the document.
Copy Word Above searches within the character column above the actual insertion point
, checking line after line, until it finds a line that is long enough to provide such word. Note, that it uses a physical character column, assuming that all characters are equaly wide. When using a proportional font, which has characters that are not equaly wide, Copy Word Above may seem to work in a strange and peculiar way. This is beacuse it was primarily meant to be used with fixed-width fonts.
Note: Copy Word Above always works with unwrapped lines, even if the word wrapping is turned on.
Copy Similar Line (Alt+Shift+Space)
Takes the rest of the word that is above the actual insertion point
and on a line, which starts with the same phrase, and copies it into the document.
Copy Similar Line searches within the lines above, checking line after line, until it finds a line that contains the same phrase as the current line, considering up to the caret position, and also that is long enough to provide such word. Note, that it uses a physical character column, where all characters are equaly wide. When using a proportional font, which has characters that are not equaly wide, Copy Similar Line may seem to work in a strange and peculiar way. This is beacuse it was primarily meant to be used with fixed-width fonts.
Note: Copy Similar Line always works with unwrapped lines, even if the word wrapping is turned on.
Note: Copy Similar Line searches for lines in a case insensitive
way.
Tip: If you are writting a list and each of the lines starts with the same phrase (e.g. I would like to do ...), you may use this Copy Similar Line at the beginning of the each such line. Hit Alt+Shift+Space hotkey several times, up until you reach the position where the lines shall differ. This may save a lot of typing or copy-pasting. Note, that Copy Similar Line always searches for a similar line, thus you may also work with two or more such phrases (e.g. I would like to do ... and I would hate to do ...) simultaneously. Just use Copy Similar Line up until the position, where they differ, then give it a hint of several characters (e.g. like or hate) and then keep copying until no more hints can be given.
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 chapter General page of the 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.