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
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×