Menu

Context Highlighting Autohotkey - broken ?

2007-07-09
2012-12-03
  • eric werner

    eric werner - 2007-07-09

    Hey Hello!

    I have a custom context highlighting for autohotkey (www.autohotkey.com)
    But The commands are only highlighted if there is a space " " or linebreak following the command.

    means:

    Return
    (at the end of a function is highlighted, but: )

    Return(at the very end of the file is not!)

    Is there a way to edit the "AHK Autohotkey.api" or "userDefineLang.xml" this way that the words are also highlighted if at the EOF or with a following , (comma is very common for Autohotkey to be next to a command!)??

    Or can this be a notepad++bug?

    thanks for the cool editor anyhow. But let me know if there is something about this.
    eRiC

     
    • MJG

      MJG - 2007-07-15

      It's likely a quirk.  The highlighting is likely applied to complete "tokens" found between delimiters like whitespace.  If no ending delimiter, no token.

      Maybe the physical end-of-file can be considered a default delimiter... --Joel

       
      • eric werner

        eric werner - 2007-08-16

        so won't fix!?!? :[

        quirk = bug?

         
  • Vitor

    Vitor - 2012-12-03

    often everything turns green. Saving and reloading solves, temporarily, tho