File Type Configuration

Plain text files, HTML files and software source code are all different, and so are your habits and preferences for editing them. Using a single text editor to edit all your text files should not force you to edit all those files in the same way.

You can configure most of EditPad Pro’s text editing options for each individual file type. EditPad Pro ships with a large number of preconfigured file types, allowing you to start using EditPad Pro right away. If after some time you find EditPad Pro doesn’t do things the way you want, there’s likely an option for it in the file type configuration.

Definition: The file type definition determines which file type’s settings EditPad Pro will use for which files. Since file types are usually indicated by their files’ extensions, you’ll usually specify a list of extensions such as “*.htm;*.html” for HTML files. For files without or variable extensions, you can specify other file masks. A unique feature is EditPad Pro’s ability to detect magic values as the start of the file, such as the XML declaration for XML files, or the UNIX-style “shebang” for Perl, Python or Ruby scripts.

Encoding: EditPad Pro edits all text files. Open text files saved on Linux, UNIX and Macintosh computers, or even text files from old DOS PCs or IBM mainframes. EditPad Pro preserves the file’s compatibility with those systems, unless you explicitly convert it. You’ll never have to worry about being unable to open a text file, and you’ll always be able to save your files in a format that people with less flexible text editors can read. EditPad Pro handles DOS/Windows, UNIX/Linux and Macintosh line breaks. Open and save text files encoded in Unicode (UTF-8, UTF-16 and UTF-32), any Windows code page, any ISO-8859 code page, and a variety of DOS, Mac, EUC, EBCDIC, and other legacy code pages.

Editor: Choose one of the preset text layouts for left-to-right, right-to-left, or complex script text editing, or configure your own for maximum control over text direction, cursor movement, word selection, text spacing, and fonts. For line-based file types, you can turn on the option to show line numbers. Lines can be numbered with or without taking word wrapping into account. For column-based file types, you can show column numbers and even mark specific columns with vertical rulers. EditPad Pro’s word wrapping feature has a unique option that allows wrapped lines to keep the indentation of the original line instead of flushing to the left margin. This allows you to use word wrapping on source code files without losing track of nested blocks in the file. The automatic indentation option makes it easy to maintain indentation when adding lines. Indentation and tab sizes are also fully configurable.

Tabbing: Different people editing a file with different tab size settings can mess up the indentation of the file. EditPad lets you configure the tab size per file type and can even use a regular expression auto-detect the tab size for each file. Elastic tab stops avoid the tab size issue completely (but require everyone to use an editor that supports them). Easily edit tab-separated or comma-separated files. EditPad can arrange tab-delimited fields in columns and even treat commas or other characters as tabs.

Colors and Syntax: Change EditPad Pro’s appearance to suit your tastes and eyesight. EditPad Pro includes a wide variety of color palettes with light themes, dark themes, colorful palettes, and monochrome palettes. It can even mimic popular IDEs such as Visual Studio, Embarcadero’s RAD Studio, or PowerShell. You can use any of the predefined configuration as the basis for your own.

Syntax coloring highlights various parts of a file in different colors. EditPad Pro ships with syntax coloring schemes for many programming languages and other file formats. If there’s no scheme for the file type you’re trying to add, click the Download button to see if somebody else already shared a scheme. If not, click the Edit button to create your own. All included and downloadable schemes are fully editable.

Navigation: The file navigation scheme is used by EditPad Pro’s File Navigator to build a collapsible tree with references to the file you’re editing, making it easy to find relevant parts in the file. If there’s no scheme for the file type you’re trying to add, click the Download button to see if somebody else already shared a scheme. If not, click the Edit button to create your own. All included and downloadable schemes are fully editable.

Brackets: Syntax coloring schemes can pair up brackets and tags. EditPad can Pro automatically highlight matched and unmatched brackets and tags. It can also insert matching brackets as you type and automatically insert line breaks and indentation around braces and markup tags.

Two Groups of Configuration Settings