Jump to content
Muxe Inc Forums
Sign in to follow this  
dandv

New Syntax Highlight: Rtf

Recommended Posts

dandv    0

I'd like to contribute a .HGL section for RTF files:

 

;════════════════════════════════════════════════════════════════════════════
; Rich Text Format files: case sensitive
;════════════════════════════════════════════════════════════════════════════
FILES *.RTF
  GeneralFLAGS 1
  STRINGFLAGS 2
  BracketPairs { }
  Keywords1 \line,\par,\pard
  RegKeywords COLOR Cyan \\cf\d+
  RegKeywords COLOR Green (?<!\\)\\[A-Z]+-?[0-9]*
  Macro 1
    Print {\rtf1 }
  EndMacro

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×