User manual

Your STVD graphical environment UM0036
62/385 Doc ID 7705 Rev 11
Edit/Debug tab
Use the Edit/Debug tab to enable/disable and configure editor features related to editing
source files and debugging your application. The tab is divided into the following areas:
Edit and print
Word wrap
Debug
Long line
Line ending
Edit and Print allows you to access the editing and printing options described in Tabl e 18.
Word Wrap allows you to access the line wrapping options described in Tabl e 19 .
Table 18. Edit and print options
Option Description
Line numbers
When checked, the line numbers are displayed in the line number margin on
the left side of the Editor window.
Left Margin
When checked, the margin used for enabling/disabling of instruction
breakpoints is visible.
Margin selection
When checked, clicking in the left margin of the Editor window selects the
entire line. When unchecked, a mouse click sets/disables/removes a
breakpoint on the indicated line.
Even when this box is not check, you can select a full line by clicking in the
Line number margin.
Enable Folding
When checked, folding of source code is enabled and the fold margin is
visible.
Auto-Indent
When checked, automatic indentation upon typing an opening or closing brace
for a function is enabled.
Indentation Guides When checked, the thin vertical lines indicating indents and tabs are visible.
Tab size Specifies the size for tabs in number of characters.
Indent size Specifies the size for indents in number of characters.
Insert spaces
When checked, tabs in files that are opened with the editor are replaced with
spaces.
Keep Tabs When checked, the editor retains the tabs in any files that are opened.
Auto Brace Match
Highlighting
When checked, the highlighting of matching braces is enabled. Even when
this option is disabled, users can still find matching braces by placing the
cursor next to a brace and selecting Edit>Match Brace, or pressing CTRL+E.
Table 19. Word wrap options
Option Description
Enable When checked, wrapping is enabled. This option is checked by default.
Initial Indent
Specifies the indent at the beginning of each line that has been wrapped from
the preceding line. Enter 0 for no indent.