File Type Navigation

(available in EditPad Pro only)

On the Navigation page in the file types configuration screen, you can configure the file navigation and line folding text editing aids.

File Navigator

You can access the File Navigator by selecting View|File Navigator in the menu. The File Navigator displays the structure of the file in a collapsible tree. By clicking on items in the tree, you can quickly navigate to various parts of the file.

The File Navigator requires a file navigation scheme to do its job. You can select a predefined scheme from the file "navigation scheme" drop-down list.

If no file navigation scheme is available for the file type you are defining, click the download button. EditPad Pro will then connect to the Internet and allow you to download file navigation schemes created and shared by other EditPad Pro users. To create your own file navigation schemes, use the File Navigation Scheme Editor. After editing a scheme or creating new ones, click the Refresh button to make EditPad Pro read in the new and edited schemes.

Automatic Folding Points

Automatic folding points appear as small squares in the left margin, with a vertical line extending down from the square to indicate the range. These allow you to quickly fold logical parts of the text to get a better overview of the overall structure. When EditPad Pro adds automatic folding points, any unused (i.e. expanded) folding points you created with Fold|Fold and Fold|Unfold are removed.

EditPad Pro can obtain automatic folding points from two sources. Many, but not all, file navigation schemes also define foldable ranges when they associate different parts of the file with various nodes in the file navigation tree. These ranges usually follow the syntax of the file. Some file navigation schemes mark some of their foldable ranges as being "detailed". For example, schemes for C-style languages add regular folding ranges for classes and functions, and detailed folding ranges for all other pairs of curly braces. If you select to add automatic folding points from the file navigation scheme, only the regular folding ranges will appear in EditPad Pro. If you select to add detailed automatic folding points from the file navigation scheme, regular and detailed folding ranges will appear in EditPad Pro. Both types of folding ranges behave in exactly the same way. The only difference is that the detailed ranges don't show up at all if you don't choose that option.

Alternatively, EditPad Pro can use a file's indentation as the basis for folding points. Whenever a line is followed by one or more lines that are indented further than itself, that line will become a folding point. Its range will stop before the next line with the same or a smaller indentation than the foldable line. EditPad Pro will nest folding points this way up to three levels deep. Further levels down will only be added if the foldable range is longer than half the number of lines that EditPad Pro can display at a time.

Note that when enabling automatic folding points, you can still use the Fold|Fold to fold different blocks of text. They just won't persist when you unfold them and edit the file.

Help File or URL for Keyword Help

When you press F1 in EditPad Pro, normally EditPad Pro's help file appears. But if you enable keyword help for a file type, and the main editor has keyboard focus when you press F1, then EditPad Pro can show help for the file type you're working with EditPad Pro itself. If you selected a block of text that does not span more than one line before pressing F1, EditPad Pro shows help for the selected text. Otherwise, it shows help for the word under the cursor.

If you specify the full path to a HLP or CHM file, EditPad Pro automatically looks up the selected text or the word in the cursor in the index of the HLP or CHM file. You can click the (...) button to select a HLP or CHM file on your computer. If you are running Windows Vista or Windows 7 and you specify a HLP file, you may be prompted to download the WinHelp viewer from Microsoft if you haven't done so already.

You can also specify the URL to a web page. If you do, use the %KEYWORD% placeholder in the URL. EditPad Pro will substitute this placeholder with the selected text or the word under the cursor. E.g. if you want to start a Google search when you press F1, set the URL to EditPad Pro automatically URL-encodes any special characters in the selected text.

Finally, you can specify the path to any document or a command line to any application, including command line parameters. You can use the %KEYWORD% placeholder anywhere on the command line. EditPad Pro will substitute the placeholder without giving special treatment to any characters in the selection or the word under the cursor.