Skip to content
A sublime plugin that allows to highlight certain pieces of text with different colors (similar to notepad++ "Style token" functionality)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Context.sublime-menu
Default (OSX).sublime-keymap
Default (Windows).sublime-keymap
README.md
StyleToken.py
StyleToken.sublime-settings

README.md

StyleToken sublime plugin

A sublime plugin that allows to highlight certain pieces of text with different colors (similar to notepad++ "Style token" functionality)

Usage

Plugin adds "Style token" context menu and few commands:

  • token_style, args: styleIndex : Highlight selected text with style = styleIndex.
  • token_style_clear, args: styleIndex: Clear hightlights of style = styleIndex. If no arg provided, clears all styles.
  • token_style_go, args: styleIndex: Go to the next highlighted text. If styleIndex arg provided, go to the specific style. If no arg provided, go to the any next style.
  • token_style_go_back, args: styleIndex: Go to the previous highlighted text. If styleIndex arg provided, go to the specific style. If no arg provided, go to the any previous style.

See "Default (Windows).sublime-keymap" for example of command usage.

By default, has only windows keymap

By default, contains 5 configured styles, but supports up to 10, check "StyleToken.sublime-settings"

Screenshots:

Context menu

Style 1 hightlight

Context menu

Style 2 hightlight

You can’t perform that action at this time.