Certain text processing functions can be performed on any text based document 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: To quickly select all text, you can press Ctrl+A.
Under the "Selection" Submenu
| • | Change All to References - Changes all selected characters to character references |
| • | 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. |
| • | Change References to Chars - Convert character references to the characters they represent. (New v10.00) |
| • | 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. |
Under the "Selection->Change Case" Submenu
| • | Capitalize - 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) |
Under the "Selection->Enclose Lines" Submenu
| • | 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) |
Under the "Selection->Remove" Submenu
| • | 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 - 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) |
Under the "Selection->Sort Lines" Submenu
| • | Case Sensitive Ascending |
| • | Case Sensitive Descending |
| • | Case Insensitive Ascending |
| • | Case Insensitive Descending |
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.