RichTextFormat
Syntax definition for RTF files in Sublime Text 3
Details
Installs
- Total 8K
- Win 4K
- Mac 3K
- Linux 873
Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 3 | 0 | 0 | 1 | 1 | 1 | 0 | 2 | 0 | 3 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 3 | 2 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 3 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 3 | 0 |
Mac | 1 | 2 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 2 | 0 | 0 | 0 | 2 | 2 | 2 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 2 | 0 | 3 | 4 | 1 | 1 | 0 | 2 | 1 | 1 | 1 |
Linux | 2 | 2 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
Readme
- Source
- raw.githubusercontent.com
RichTextFormat
Syntax definition for RTF files in Sublime Text 3, so they can be highlighted by your color scheme.
Features
- Syntax definition for RTF files, so that the following can be highlighted by your color scheme:
- braces
- control words
- numeric parameters
- control symbols
- bookmarks
- fields
- special characters
Also it is possible to see the bookmarks in the document, and jump to them, using Sublime Text's Goto Symbol functionality.
Installation
The recommended way to install the Sublime Text RTF syntax is via Package Control. Package Control will install the plugin on your system and keep it up to date.
- Ensure Package Control is installed.
- In Sublime Text, open the
Preferences
menu, and selectPackage Control
. - Select
Package Control: Install Package
. - Start typing
RichTextFormat
. When you see it, select it. - Wait for it to install.
- Re-open any open RTF files, or set their syntax to RTF manually.
- Enjoy!
Color Scheme - Scopes
This package follows the conventions set out in the official ST3 scope naming documentation. Some color schemes won't color punctuation by default, so you may want to tweak it or request that the author of the color scheme tweak it - because there aren't many distinct token types in RTF files, and braces are important - highlighting them in a different color can make the documents much more readable!
Scopes:
text.rtf punctuation.section
curly braces ({
)text.rtf punctuation.separator
semi-colons (;
)