The following options are available for Castalia's Structural Highlighting:
Highlight Code Structure: When checked, structual highlighting appears in the editor. When unchecked, no structural highlighting is shown.
Mark all Blocks: When this option is selected, all visible blocks of code are highlighted.
Mark Only Current Method: When this option is selected, only the procedure or method that contains the cursor is highlighted.
Mark Only Current Blocks: When this option is selected, only blocks of code that currently contain the cursor are highlighted.
Highlight Always (Live): When selected, Castalia continually evaluates and highlights the code structure after each editor event (a key press, scroll, etc...). This requires the file to be parsed after each event, and the editor redrawn.
Highlight with Delay: When selected, structural highlighting evaluates your code and highlights the code structure when it detects a pause in the editor. This is concurrent with the editor cursor blinking, and the navigation toolbar updating. If live highlighting causes the editor to work slowly, you may wish to try this option.
Highlight On Hotkey: When selected, structural highlighting is shown only when the selected hotkey is pressed.
Brackets: Uses the bracket style of structural highligting:
Blocks: Uses the blocks style of structural highlighting:
Note: The brackets style of structural highlighting is faster than the blocks style.
Mark Hanging Blocks: When checked, structural highlighting uses a bracket style painting routine that is friendlier to the "hanging blocks" code format. The hanging blocks format is one where the begin keyword does not align with the end keyword, but rather is at the end of the line that separates the block from its outer block. For example:
if I = 1thenbegin
ShowMessage('I is One');
end;
Line Width: Sets the width (in pixels) of the lines to be drawn for the bracket style structural highlighting.