coloring all CAP words

coloring all CAP words

4
NewbieNewbie
4

    Apr 04, 2005#1

    Is there a way to color ALL CAP words? I like my #defines to be colored differently and they are always in ALL_CAPS.

    I know this has been requested a billion times, but having RegEx for syntax coloring is a must for a full featured editor. I use EditPadPro and it does this with no slowdown, but unfortunately it also lacks good external tools support plus a lot of other features.

    I hope that full syntax colors is high on the list of future upgrades.

    Tankko

    6,675585
    Grand MasterGrand Master
    6,675585

      Apr 05, 2005#2

      No, it is not possible. You have to add all your defines to a color group. If you don't have other words starting with a capitalized character in your source file (forget comments), you could add this to your case-sensitive wordfile definition to highlight your defines.

      ** A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

      The ** means all words starting with A or B or C or D ... but not a, b, c ...

      Better solution is always to define important defines in the source always with a special sequence of characters, for example DF_ which lets you easily highlight only this words by writing ** DF_ in the wordfile.
      Best regards from an UC/UE/UES for Windows user from Austria