@quarnster: RTF (Rich Text Format) is a text based format, not a binary format. It is used to represent documents with formatting and images like a Word .doc file, but it is plain text in its native format.
An RTF file is a swamp of backslashes, keywords and nested curly braces that would very much benefit from syntax highlighting.
For example, the DropBox “Getting Started.rtf”:
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.21.2508;}\viewkind4\uc1\pard\f0\fs20 Welcome to Dropbox!\par
\par
Unlike other programs, Dropbox doesn't have a complicated interface to learn. It's built right into your desktop! Here's how to get
started:\par
\par
\b Step 1: \b0 Drag and drop any file or folder into your Dropbox folder.\par
\par
\b Step 2: \b0 Once your file/folder is inside your Dropbox folder, the program immediately starts syncing it to our secure servers.
Once this has finished, the file's icon is marked with a green check. Your file is now safely backed up online and also accessible from
the Dropbox website. (http://www.getdropbox.com)\par
\par
\b Step 3:\b0 Install Dropbox (http://www.getdropbox.com/install) on other computers you use, and they'll also receive a copy of the
files you've put in your Dropbox.\par
\par
That's it! Now that Dropbox is watching your file, any changes you make will sync up instantly and automatically. This gives you the
freedom to work on any computer you choose. For more help adding files to Dropbox, see here: https://www.getdropbox.com/help/90\par
\par
Happy Dropboxing!\par
- The Dropbox Team\par
\par
\par
}
@renareto, I didn’t find any syntax coloring files for RTF after a brief search, but you could try some of the ones included with Sublime to see if you find one that is useful. The one called “Rd (R Documentation)” seems to pick up on words following a backslash, which sort of highlights RTF keywords. If you look at its file, (C:\SublimeText2\Data\Packages\R\Rd (R Documentation).tmLanguage on my system) you may be able to work out how to make it handle other parts of RTF too.