Format Menu
Previous Top Next

graphic

Encoding
Set the file encoding, e.g. ANSI or UTF-8.

File format
Windows, Unix and Mac use different characters to indicate a new line. You can use these menu items to convert a document between different formats.

Convert to character set
Convert the document between different character sets. E.g. Open a Russian ANSI file on an English Windows. The Russian text is completely unreadable. Select the menu item "Cyrillic" and the document is converted using this character set. The Russian text should now be readable.

graphic Convert file encodings...
Use this tool to convert the encodings of files on disk. Convert between ANSI character sets, ANSI to Unicode or between different Unicode encodings. You can select as many files as you want and preview the files to be converted. There are also options available to backup the files and to undo the entire operation. More...

Block formatting

Reformat Paragraph
Left align the the text and fill the lines to the right margin.

Reformat Block
Reformat the selected text block.

Reformat Block (with indent)
Reformat the selected text block and preserve the indention.

Left Align
Align the selected text to the left. If nothing is selected - all text is aligned.

Right Align
Align the selected text to the right. If nothing is selected - all text is aligned.

Center Align
Align the selected text to the center. If nothing is selected - all text is aligned.


graphic  Indent
If nothing is selected the current line will be moved to the nearest tab point to the right. If there is a selection then the whole selection (block) will be moved to the nearest tab point.

graphic  UnIndent Block
If nothing is selected the current line will be moved to the nearest tab point to the left. If there is a selection then the whole selection (block) will be moved to the nearest tab point.

graphic  Add/Remove Comment (Ctrl+')
Select a text to convert to a comment. Or convert the selected comment to regular text.

Change Case

graphic  Capitalize
Change the first letter of each selected word to upper case.

graphic  Uppercase
Change all selected letters to upper case.

graphic  Lowercase
Change all selected letters to lower case.

graphic  Invert Case
Invert the case of all selected letters.

Tabs and spaces

Convert tabs to spaces
Convert all tab characters to space characters in the document.

Convert spaces to tabs
Convert all white space characters (space and tabs) to tabs.

Convert leading spaces to tabs
Convert leading white space characters (space and tabs) to tabs.

Remove trailing white spaces
Remove all spaces and tabs from the end of each line.

Code beautifiers

graphic

Use "Tidy" with three different settings to format your code. Works with html, xhtml and xml.

Sort

graphicAdvanced Sort...
Open a sort option dialog for more advanced text sorting. More...

graphic  Ascending sort
Sort the selected lines in ascending order.

graphic  Descending sort
Sort the selected lines in descending order.

graphic  Ascending numeric sort
Sort the selected lines in an numeric ascending order.

graphic  Descending numeric sort
Sort the selected lines in an numeric descending order.

Insert line breaks...

graphic

Specify where you want the line breaks to be placed. They can be placed at a specified right margin, or at the right window edge.
In word wrap mode the text will be formatted as displayed in the window. The text will get this exact appearance.

Remove line breaks...
Removes all line breaks from the document.

Word Wrap
When selected - the lines exceeding the editors right margin are broken. These lines are marked in the left margin to help you identify a wrapped line.
You can also click on the ruler to change the wrap edge to that position.