Editing
Line Numbers
Select Line numbers (available from the Text Menu) to display line numbers along the left margin of the Editing Window.
Center Line
Center Line (available from the Text Menu) lets you center the line at the current cursor position between the first column and the right margin.
The Center Line command does not dynamically center text as you type it. To use the Center Line command correctly, first type the text you want to center, and then center the text. If you add to that text later, you may want to re-center it to correct for unbalanced space on either side of the centered text.
Time/Date Stamp
Time/Date (available from the Text Menu) places the time and date at your cursor position. The format of the time and date depends on how it is configured in Windows. To change the format of your Time/Date Stamp, open “Regional and Language Options” in your Windows Control Panel.
Ruler
The Ruler (available from the Text Menu) is a useful tool for lining up your source code and quickly moving your cursor to specific columns in your files. When you activate the ruler, it will appear along the top of the current file, with the center of the ruler (column 1) set to your current cursor position.
Across the face of the ruler are sets of marks and numbers that indicate the column numbers across the screen. Also on the ruler are two gray triangular icons. To move these, click on them and drag them to a new position on the ruler.
The first, which sits on the top of the ruler and points down, indicates the center of the ruler. If you drag it to the middle of the ruler, then the center of the ruler will be placed there, with column numbers extending to both the left and right of the center.
The second of which sits on the bottom of the ruler pointing up, indicates the current cursor position. You will notice that as you use the arrow keys to move the cursor left and right, the bottom gray-triangle mirrors it. In addition, if you want to move the cursor to a specific column on the ruler quickly, you can drag the bottom triangle to the desired column and the cursor will follow accordingly.
Page Break
Select Text | Page Break to insert a page break string (on a line by itself) on the line before the current cursor position. The page break string is normally an ASCII 12 (form feed) character. This can be changed via Tools | Customize | Editing – Page Break string (top of dialog). The field is usually set to |12 to indicate an ASCII 12 character, but can be any string up to 10-characters in length.
Reformat Paragraph
Reformat Paragraph (available from the Text Menu) is typically used after you have changed the right margin and want to re-wrap a paragraph using the new right-margin setting. This command will start reformatting from the cursor position and continue to the end of the paragraph.
Justify Paragraph
Justify Paragraph (available from the Text Menu) inserts spaces in each line of a paragraph until their ends are flush to the right margin. This command will start justifying from the cursors position to the end of the paragraph.
Unjustify Paragraph
Unjustify Paragraph (available from the Text Menu) changes a justified paragraph into one that is ragged-right. This command will start unjustifying from the cursor position and continue to the end of the paragraph. Typically, the Unjustify Paragraph command is used with the Reformat Paragraph command to get rid of unnecessary spaces. You can then leave the paragraph unjustified or justify it without risking big-holes in your text.
The steps for using the Unjustify Paragraph command in combination with the Reformat and Justify Paragraph commands are:
1. Unjustify the paragraph.
2. Reformat the paragraph.
3. Justify the paragraph.
Undo and Redo
Edit | Undo allows you to cancel any text change you made. For example, you can restore a character you deleted, reverse the effects of a Search and Replace operation, or return a marked-block to its previous position after it has been moved. Undo may be selected repeatedly. It has the ability to cancel up to 65,000 changes (should you choose to configure that many changes in Tools | Customize | Editing – Max Undo Count. The default .).
Edit | Redo reverses the effects of the Undo command. You can redo as many changes as were “undone” with the following rule:
After a change is made to a file following a redo, previous undo operations cannot be reversed. For example, suppose you used Undo 10-times and then used Redo 3-times. If you then make a change to the file, you will not be able to redo the remaining 7 Undo steps.
You can also click the Undo toolbar button or the Redo toolbar button, or use 'Alt+Backspace/Alt+Enter' to Undo/Redo.
Tabs vs. Spaces
There are two methods for placing white space within a file when using tabs. The first uses the tab character (0x09) followed by a number of virtual space characters (0x01). The second method uses just space characters (0x20). The number of virtual or space characters used is based on either the Tab Spacing settings or the Format Line for the current filename extension. These are set via Tools | Customize | General | Filename Extensions, select your file extension, click ‘Edit’, and setup the Tab Settings Mode area. There are two important notes to be aware of when deciding which method to use. Using spaces when expanding tabs ensures the exact spacing but increases file size as each space character is saved with the file. Using tabs decreases file size but does not ensure exact spacing since it relies on the Tab Spacing and Format Line settings and these settings may be different from user to user.
Convert Tabs to Spaces
Convert Tabs (under Text | Convert Tabs) will convert embedded tab characters to spaces while preserving the current text layout, or it will do the reverse — convert spaces to tab characters wherever possible, while preserving the current text layout. The specific operation it performs depends upon the “Tab Expand” setting under Tools | Customize | Editing. If Tab Expand is set to 'Spaces', then Convert Tabs will convert tabs to spaces; if Tab Expand is set to 'Tabs', then Convert Tabs will convert spaces to tabs.
Hex Mode
You may switch into Hex mode by selecting Text | Hex Mode. You can configure Multi-Edit to automatically edit binary files in hex mode by checking the box “Edit binary files in hex” under Tools | Customize | Editing. Selecting hex mode results in a side-by-side split window: the left side is in hex, the right side is in ASCII.
When editing in the left side, characters may only be entered in hex, with the overwrite mode always on.
Hex mode is simply a different view of the current file. It does not assume that the file is binary, nor does it change the “file type”. Thus, template expansion, smart indent, and other features work (if they are configured for that file extension type) while you are editing a file in hex mode. If you wish to view line terminators for a file then you will need to load it as a binary file.