RichTextFormat
Syntax definition for RTF files in Sublime Text 3
Details
Installs
- Total 7K
- Win 4K
- Mac 3K
- Linux 806
Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 1 | 0 | 2 | 1 | 2 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 2 | 1 | 0 | 1 | 1 | 2 | 0 | 2 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 1 | 1 |
Mac | 0 | 1 | 1 | 0 | 1 | 2 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 2 | 0 | 1 | 0 | 3 | 0 | 0 | 2 | 0 | 1 | 1 | 1 | 2 | 1 | 1 | 0 | 0 | 1 | 0 | 3 | 1 | 1 | 0 | 1 | 0 | 1 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 1 | 0 | 1 | 0 | 2 | 1 | 0 | 0 | 1 |
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 (;
)