Options, Editor

Top  Previous  Next

 

options_editor

 

 

Environment, Editor

OPTION

DESCRIPTION

Keymap

This option maps editor functions to keys. You can choose from Default, Brief, Classic and Visual Studio

Page mode

This option sets the page mode. You can select Normal, Page Breaks, and Page layout.

Reformat Lines

This option will reformat the line entered in the editor.

For example a   = a    +  1 will be changed into :  a = a + 1 . When you forget a string end marker ", one will be added, and endif will be changed into End IF. Endsub will be changed into End Sub, etc.

Reformat References

This option will change the case of all references. For example when you enter : Dim MyVarName As Byte , the variable has mixed case.

When you type this variable on a different line in your code in small case, of a different case like : myVARname=1 , then this option will change the case of the variable to the same case as when dimensioned.

This also applies to constants, functions, subs, labels.

Syntax highlight

This option will highlight your code with the colors chosen with Environment, Font.

Line Numbers

Show line numbers in the margin.

Auto Indent

When you press return, the cursor is set to the next line at the current column position.

Smart TAB

When set, a TAB will place the cursor to the column where text starts on the previous line.

Add variables from DAT file

This option will add registers from the definition file to codehelp.

If you do not want to list all these registers you can turn this option off.

Filter Completion

This option will use the current text as a filter for code completion.

If you type pr<CODEHELP> you will get a list with variables that start with PR. If you turn this option off, you get a complete list.

Outlining

This option will show code block outlining. When turned off, collapse lines and buttons are not visible.

Collapse Lines

This option will show collapse lines.

Collapse Buttons

This option will show collapse buttons.

Hungarian Notation

Hungarian Notation is coding style where you prefix each variable with a letter or letter combination. For example you can prefix each byte with a latter b. Example :  Dim bMyByte as Byte

Now when you read the code, you can determine form the prefix, what kind of variable is used.

 

When you enable Hungarian Notation, the editor will prefix every variable automatic in the case you did not.
Example, you type : Dim myvar as byte

Editor will change myvar into bmyvar.

 

You can five each data type a unique prefix. You should take care when using this option in old projects since the editor will change the line with the DIM only.