ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Text Marker

by Kronuz ALL

đź–Ť Text Marker (Highlighter) highlights words in Sublime Text

Details

Installs

  • Total 6K
  • Win 4K
  • Mac 2K
  • Linux 973
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 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5
Windows 1 10 0 3 0 0 0 3 7 0 7 2 0 1 2 2 3 1 2 0 0 3 2 5 4 3 1 0 5 4 3 3 3 0 0 3 5 2 4 1 3 0 4 5 4 0
Mac 1 5 2 4 5 2 0 4 2 3 1 1 2 1 1 2 3 0 1 1 0 2 4 5 2 1 2 0 2 2 0 5 3 2 1 0 0 2 2 1 3 0 2 2 1 1
Linux 4 1 1 0 1 1 0 0 0 1 3 0 0 0 1 0 0 1 1 0 0 0 0 2 1 0 0 1 1 1 1 1 1 0 0 1 1 2 0 2 1 0 1 2 0 0

Readme

Source
raw.​githubusercontent.​com

đź–Ť Text Marker (Highlighter)

Donate Package Control

This Sublime Text plugin allows temporarily and persistently marking all occurrences of selected words in a color; multiple marked selections can be added simultaneously, each marking the selections with different colors.

Optionally (enabled by default) it also highlights all copies of a word that currently has the insertion cursor upon it or which is currently selected.

Simply use Alt+Space to mark selected text.

Description

Installation

  • Recommended - Using Sublime Package Control
    • Ctrl+Shift+P then select Package Control: Install Package
    • install Text Marker
  • Alternatively, download the package from GitHub into your Packages folder and make sure to rename the directory to “Text Marker”.

Usage

  • Step over any word in your document, all occurrences of the word will be highlighted.

  • Being over a word or having some selection, press Alt+Space to mark all.

  • Alt+Escape clears all marked text.

  • Each time you mark a word a different color will be used (colors are configurable in the settings)

Configuration

  • Open settings using the command palette: Preferences: Text Marker Settings - User

  • You can configure live word highlight directly from the command palette: Text Marker: Disable Live Highlight

  • You can add mouse mappings to be able to mark text by using Ctrl+Click; simply add the following Sublime Text “mousemaps”:

[
  { "button": "button1", "modifiers": ["alt"], "command": "text_marker", "press_command": "drag_select" },
  { "button": "button1", "count": 2, "modifiers": ["alt"], "command": "text_marker_clear", "press_command": "drag_select" }
]
  • You can config the color and appearing order in Text Marker Setting: Preferences - Package Setting - Text Marker Settings - User
{
    "user":
    {
        "default_colors":
        [
            "lightgreen",
            "lightcoral",
            "lightcyan",
            "lightgoldenrodyellow",
            "mistyrose",
            "olivedrab",
            "plum",
            "orange",
            "mediumslateblue",
            "teal",
            "tomato",
            "peachpuff",
            "yellowgreen",
            "whitesmoke",
        ]

    }
}

License

Copyright © 2018 German Mendez Bravo (Kronuz). All rights reserved.

MIT license

This plugin was initially a fork of https://github.com/SublimeText/WordHighlight/blob/master/word_highlight.py