Please enable JavaScript to view this site.

Memory Validator Help

Navigation: The User Interface > Tools

Colour coded source code editor

Scroll Prev Top Next More

 

Source code editing

 

The editing settings let you set an editor of your choice to view or edit source code. Memory 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
 

right_mouse_buttonpopup menu instructionStep Edit Source Code...
 

menu Tools menu instructionStep Edit Source Code...

 

 

Using the built-in editor

 

The built-in editor supports the basic operations expected for editing source code:

 

 source-code-editor

 

 

File menu

 

The file options need no explanation:

 

source-code-editor-file-menu

 

Edit menu

 

All the following edit options should also be familiar:

 

source-code-editor-edit-menu

 

Undo/Redo is unlimited by default, but this can be changed in the options below.

 

note Editing bookmarks has nothing to do with Memory Validator's own bookmarks.

 

 

Formatting menu

 

The formatting menu has general display and editing options

 

source-code-editor-formatting-menu

 

Convert instructionStep Tabs to spaces instructionStep turns all tabs into spaces

Convert instructionStep Spaces to tabs instructionStep turns all spaces into spaces
 

Use Colour instructionStep toggles the colour coded display
 

Fonts and Line Numbers... instructionStep change text colours, fonts and line numbers
 

source-code-editor-fonts

 

Options... instructionStep set tab length and other options
 

source-code-editor-options

 

Wrap Width... instructionStep changes the column width at which lines will wrap in the display

 

 

Status bar

 

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.

 

 

Line collapsing

 

You can temporarily collapse sections of code as follows:

 

Left click in the margin to start the section instructionStep Drag to define the length instructionStep Release to set the end of the section

 

Click anywhere on the resulting indicator to collapse, and on the + to expand a section.

 

Expanded:

 

source-code-editor-line-collapsing

 

Collapsed:

 

source-code-editor-line-collapsed

 

 

noteLine collapsing is temporary and not remembered between edit sessions.