Skip to content

Conversation

@donnyh13
Copy link

@donnyh13 donnyh13 commented Jan 22, 2026

  • Apply meta.preprocessor.autoit token name to ForceDef, ForceRef, AU3Wrapper, etc.
  • Apply keyword.control.directives.autoit to Include-Once, NoTrayIcon, OnAutoItStartRegister, and RequireAdmin, thus they would be colored the same as #Include
  • Apply string.parameter.directives.autoit to parameters after Tidy_, AU3Wrapper_, AU3Stripper_, also #Region only when a comment is not present? (Will fail if a ";" is present in the line of text.) Could be extended to colorize strings, numbers etc.
  • Make the space in the RegExp pattern after #Include optional.

Please see Feature request #237

In Scite include-once, NoTrayIcon, OnAutoItStartRegister, and RequireAdmin are colored differently than ForceDef, ForceRef, etc.
Also Parameters after Tidy_*, AutoIt3Wrapper_*, etc., were not presently colorized.
Also Text after #Region was counted as string.parameter.directives even when a ";" was present.
A #Include would not colorize correctly if there was not a space between it and the following quote or <, whereas it would in Scite, I made the following space optional.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant