Add AutoIt (au3) language

Topics: User Forum
May 4, 2008 at 3:46 AM
I am upgrading from v1.2 to 2.0, and am having problems implementing the AutoIt language (au3 files).

It appears to be partially implemented, because I add:

CodeControl.ConfigurationManager.Language = "au3"

and comments, variables and the like are detected, but functions are not.

How can I finish configuring the language?

Thanks for the great control.
Jul 25, 2008 at 3:35 PM
You need to create a config file for it. Use the built in default.xml as a template ($/ScintillaNET/Configration/BuiltIn/default.xml). Change the language name to au3. Remove all the style elements and add the ones you want to control. For a list of the style names defined for au3 look in ($/ScintillaNET/Configration/BuiltIn/LexerStyleNames/au3.txt)