syntax highlighting dependent on spaces

syntax highlighting dependent on spaces

2
NewbieNewbie
2

    Oct 03, 2005#1

    ok, im programming in Pawn by CompuPhase

    If I tab the following, syntax highlighting is removed (or not applied).

    register_cvar("xvote_ratio","0.02")

    If I use [spaces] in front of the code, instead of [tabs], then syntax highlighting is applied.

    register_cvar("xvote_ratio","0.02")

    6,686585
    Grand MasterGrand Master
    6,686585

      Oct 03, 2005#2

      Open your wordfile via the Open button in Advanced - Configuration - Syntax Highlighting. Go to the language definition for your language CompuPhase. There go to the line with starts with /Delimiters = .
      Insert a tab (hex 09) character anywhere in the list of delimiter characters, but not at the end (setting trim trailing spaces on save could be active). Save your wordfile and the highlighting should work.
      Best regards from an UC/UE/UES for Windows user from Austria

      2
      NewbieNewbie
      2

        Oct 03, 2005#3

        yes, that got it, thanks for Your help man! ;x

        3
        NewbieNewbie
        3

          Nov 12, 2005#4

          I had the same problem. Thanks for the post.