Difference between revisions of "Edit menu"

From TED Notepad
Line 31: Line 31:
 
====Go To... (Ctrl+G)====
 
====Go To... (Ctrl+G)====
  
Shows the {{feature|Go to...}} dialog and moves the caret to a specified location.
+
Shows the {{feature|Go to}} dialog and then moves the caret to a specified location.
  
{{tip}} An optional setting may adapt the {{button|Go to Line}} behavior when the lines are wrapped. See chapter [[Settings dialog]] for more details.
+
{{tip}} An optional setting may adapt the {{button|Go to Line}} behavior when the lines are {{feature|word wrapped}}. See chapter [[Settings dialog]] for more details.
  
{{specific|[[RichEdit clone|RE clone]]}} There is a difference from the {{rele|LE clone}} in the {{button|Go to Char}} behavior. See chapter [[RichEdit clone]] for more details.
+
{{specific|[[RichEdit clone|RE clone]]}} There is a difference in the {{system|RE}} clone in the {{button|Go to Char}} behavior. See chapter [[RichEdit clone]] for more details.
  
 
====Select All (Ctrl+A)====
 
====Select All (Ctrl+A)====

Revision as of 18:48, 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 word 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 entire text of 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.

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.

This section is incomplete and wants to be finished later.
TODO: move

Tip: If you are using Ctrl+Right Arrow to jump through {{defined|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, when you reach the desired position.

This section is incomplete and wants to be finished later.
TODO: move

Add Next Word (Ctrl+Shift+Space)

Uses Select Word feature (see above) and then extends the actual selection to cover the result.

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.

This section is incomplete and wants to be finished later.
TODO: move

Smart Return (Ctrl+Enter)

Auto-indents the text after returning to a new line by replicating all white-spaces from the first non-empty previous line. The replication stops, when the caret position is reached or any non-white-space character is found.

Tip: When you are writing a list and you want the text to have some spaces before each line, type those spaces while writting the first line, so the TED Notepad knows, how much of them you actually want and then hit Ctrl+Enter key combination each time you would have used simple Enter key. This way, each line would contain spaces copied from the previous line, thus all lines of the list would be indented.

This section is incomplete and wants to be finished later.
TODO: move


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 actual word wrapping. From version 5.0.1, this feature always indents a new line regardless to whether the line is wrapped or not.

Copying Return (Ctrl+Shift+Enter)

Copies all characters from the first non-empty previous line up to the caret position after returning to a new line.

Tip: If you are writting a list and each of the lines starts with the same text, 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) several times. The text you have typed on the first line will be 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.

This section is incomplete and wants to be finished later.
TODO: move

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.

This section is incomplete and wants to be finished later.
TODO: move

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.

Note: The Copying Return works differently with word wrapping turned on for versions 5.0.1 and above. Prior to version 5.0.1, this feature always copied a line according to actual word wrapping. From version 5.0.1, this feature copies the entire line, regardless to whether the line is wrapped or not.

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 nelahko popisatelne veci o veciach, ktore su i tak vsetkym intuitivne jasne. Zaujimalo by ma, ci uzivatel skor pochopil intuitivny nazov BkSpace Word, alebo ten popis, 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 according to the other words in the document.)

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 listbox. 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.

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 :)