User manual

UM0036 Your STVD graphical environment
Doc ID 7705 Rev 11 45/385
File display and editing features
The Editor window has a number of advanced features to help you view, navigate and edit
your C and Assembler source files. Many of these features can be configured and
enabled/disabled in the Options window (Tools>Options). The following features are
illustrated in Figure 18:
1. Margin controls and information including line numbers, line selection and
enabling/disabling of instruction breakpoints (see Margin features).
2. Margin icons for navigation and debugging, including bookmarks (shown in
Figure 18), instruction breakpoints, position counter and stack position indicator (see
Editor debug margin on page 172).
3. File folding for display of specific sections of code in the source file.
4. Configurable indentation features include the size of indents (in characters),
indentation guides and automatic indentation upon typing an opening or closing brace
(see Indentation).
5. Brace matching to highlight opening and closing braces (see Brace matching).
6. Auto-completion for quick prompting of language-specific keywords when coding in C
or Assembler (see Auto-completion).
7. Parameter information for quick prompting of ST Assembler instruction syntax in a tip
pop-up (see Parameter information).
8. Long line indicator shows lines that exceed the maximum number of characters that
you specify (see Customizing editor features on page 61).
9. Line wrapping indicator shows where long lines have been forced to a new line when
wrapping is enabled (see Customizing editor features on page 61).
Figure 18. Editor window file display and editing features