AutoIt3 SciTE Lexer features

Syntax Highlighting

We have created a custom SciTE Lexer for AutoIt3 to have proper Syntax coloring done.
Here is an example of the Syntax highlighting SciTE does:

You can see here that the different type of words each have their own color, even the Send keys inside a literal.
You can change the colors SciTE is using.. Check here for the details.

Syntax Folding

The custom SciTE Lexer for AutoIt3 also contains proper folding logic to fold ( or collapse) your script into easy manageable blocks of code.

Below an example of the Tidy.au3 folded for easier code scrolling. It folds all functions (500 lines) into a single screen so its easy to find the function you want to work on and then just expand that single function by clicking on the :

 

The folding logic folds all Keywords like If-ElseIf-Else-EndIf, Do-Until, While-Wend but also Comment blocks #CS-#CE or block of lines that are commented by a semicolon ;

We also added a special folding keyword #region-#endregion. Any text behind these keywords on the line are considered comments.

Before After