Skip to content

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

Notifications You must be signed in to change notification settings

vcharnahrebel/style-token

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published