Certain text processing functions can be performed by selecting text in the editor and then choosing a menu option from the Selection submenu of the editor pop-up menu. Some of the functions are listed below.
NOTE: Functions under the Selection submenu, such as the ones below, affect only the selected text.
TIP: Press Ctrl+A to select all text. Press F4 to repeat the last text insertion or text selection/sort command.
•Change <>& to Entities - Changes special HTML characters to their character entity references. More specifically, changes '<' to <, '>' to >, and '&' to &. This is useful when converting text to HTML when you want to escape special HTML characters so that the actual characters will display.
•Capitalize Words - Capitalize first letter and lower other letters of each selected word. (New v10.00)
•Change to Lowercase - Changes the selected uppercase characters to lowercase.
•Change to Uppercase - Changes the selected lowercase characters to uppercase.
•Invert Case - Invert the case of the selected uppercase and lowercase characters. (New v10.00)
•in <li> ... </li> - Encloses each of the selected lines in <li> and </li>. This is useful when converting text to HTML when you want each line to represent an item in a list.
•in <p> ... </p> - Encloses each of the selected lines in <p> and </p>. This is useful when converting text to HTML when you want each line to represent a paragraph.
•in a Custom Element - Asks which element name to use and then encloses each of the selected lines in the element's start and end tags. (New v9.00)
•All Blank Lines - Remove all blank lines from the selected text.
•Double Line Breaks - Remove double line breaks by changing them to single lines breaks.
•Duplicate Nonempty Lines - Removes duplicate lines using a case-sensitive match. Blank lines are all preserved. (New v10.00)
•Extra Blank Lines - Combine multiple adjacent blank lines into a single blank line.
•Line Breaks (Join Lines) - Removes line breaks in the selected text, replacing them with spaces. This is good for quickly combining multiple lines into a single line.
•Tags - Removes HTML and HTML like tags.
•Whitespace at Line Ends - Remove whitespace (tabs and spaces) from the end of each selected line.
•Whitespace Characters - Remove all whitespace characters in the selected text. (New v10.00)
•Change All Non-ASCII to References - Changes all selected characters above 127 to numeric character references (New v14.00)
•Change All to References - Changes all selected characters to character references
•Change References to Chars - Convert character references to the characters they represent. (New v10.00)
•Normalize (Unicode Form C) - Normalize the selection using Unicode Normalization Form C (NFC). This is the form recommended by the W3C. (New v17.01)
•URL Decode - URL decode the selection as if it were a URL encoded string from a UTF-8 stream. (New v16.0305)
•URL Encode - URL encode the selection (which is first converted to a UTF-8 stream). (New v16.0305)
•End Lines in <br> - Adds <br> or <br /> to the end of the selected lines. This is useful when converting text to HTML when you want to preserve certain line breaks.
Remember that to use the above functions, you must first select text in the editor and then choose the above menu option from the Selection submenu of the editor pop-up menu.
More sophisticated text processing functions are available using the Tools.