The IDE can assist you in determining if your expressions are correctly parenthesized. If you place the typing cursor (techincally, the caret) immediately to the right of a left or right parenthesis, both it and the matching parenthesis will be displayed in blue. The display style for matching parentheses is controlled by an entry in the Global Options file like this one:
If you want to customize this style, you can add a line to your User Options by selecting 'Open User Options File' on the Options menu to specify the attributes for style 34. For example, the line
Code: Select all
style.*.34=fore:#ff0000,back:#ffff00,bold
This entry will cause the matching parentheses to be displayed in red on a yellow background
The asterisk means that the style designation applies to all languages. If you wanted the style to only apply to a specific language you would replace the asterisk with the language designator. Since ZBasic uses the Visual Basic "lexer", you can have matching parentheses in yellow on a blue background only for Basic using
Code: Select all
style.vb.34=fore:#ffff00,back:#0000ff,bold