Difference between revisions of "Enclose Selection"
m |
|||
Line 1: | Line 1: | ||
− | <noinclude>{{manversion|6.0.0.16}}__NOTOC__</noinclude> | + | <noinclude>{{manversion|6.0.0.16|feature}}__NOTOC__</noinclude> |
====Enclose Selection.. (Alt+Ctrl+E)==== | ====Enclose Selection.. (Alt+Ctrl+E)==== | ||
Revision as of 16:05, 25 April 2011
Control page Control:feature:Enclose Selection
Enclose Selection.. (Alt+Ctrl+E)
Asks for two phrases and then encloses the selection with them. The first one (Before) is placed before the selection, the second one (After) is placed after the selection.
If there is nothing selected while using this tool, then the caret is placed between the two inserted strings.
TED Notepad for Windows is a freeware text editor, ... |
TED Notepad for Windows is a <b>freeware</b> text editor, ... |
Tip: This tool is most suitable for repeating phrases where only some part of those phrases varies and this variance occurs somewhere in the middle of them. Every time you need to use such phrase, either invoke this tool on empty selection and then type the varying part right in, or type the varying part first and then select it and enclose it. Remember: If there is nothing selected while using this tool, then the caret is placed between the two inserted strings.
Tip: If you need to enclose with XML or HTML tags, use the XML/HTML Tag tool instead.
Tip: If you need to enclose entire subsequent lines, it is better to select all of them at once and use Quote Lines tool (hotkey Alt+Ctrl+Q) and then Close Lines tool (hotkey Alt+Ctrl+C) instead of selecting each one of them separately and performing the Enclose Selection again and again.
See also XML/HTML Tag tool.