The editing settings let you set an editor of your choice to view or edit source code. Thread Validator's built-in editor is one of those options.
The built-in editor can be started in several ways:
•double click on a source code fragment in one of the views
•popup menu Edit Source Code...
• Tools menu Edit Source Code...
The built-in editor supports the basic operations expected for editing source code:
The file options need no explanation:
All the following edit options should also be familiar:
Undo/Redo is unlimited by default, but this can be changed in the options below.
Editing bookmarks has nothing to do with Thread Validator's own bookmarks.
The formatting menu has general display and editing options
•Convert Tabs to spaces turns all tabs into spaces
•Convert Spaces to tabs turns all spaces into tabs
•Use Colour toggles the colour coded display
•Fonts and Line Numbers... change text colours, fonts and line numbers
•Options... set tab length and other options
•Wrap Width... changes the column width at which lines will wrap in the display
The status bar shows help text at the bottom as you hover over menu and toolbar options.
To the right of the status bar are insert mode, column number and line number.
You can temporarily collapse sections of code as follows:
•Left click in the margin to start the section Drag to define the length Release to set the end of the section
Click anywhere on the resulting indicator to collapse, and on the + to expand a section.
You'll need to drag near the middle of the empty grey area, as not all of the margin is active.
Line collapsing is temporary and not remembered between edit sessions.