Jupyter notebook extension that enables highighting of every instance of the current word in the editor.
Project description
Enables the CodeMirror addon “[Match Highlighter](https://codemirror.net/demo/matchhighlighter.html)”, which highlights all instances of the selected word in the current editor.
There are a few configurable options, all of which sit under the config key highlight_selected_word in the notebook config section.
Parameters
highlight_selected_word.code_cells_only - Only apply highlights to editors for Code cells, not, for example, Markdown or Raw cells
highlight_selected_word.highlight_color - Color to highlight matching words
highlight_selected_word.delay - Wait time (in milliseconds) before highlighting the matches
highlight_selected_word.words_only - If true, only highlight matches if the selected text is a word
highlight_selected_word.min_chars - Minimum number of characters that must be selected for the highlighting behavior to occur
highlight_selected_word.show_token - Token (regex) to highlight when nothing is selected
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file jupyter_highlight_selected_word-0.0.1.tar.gz
.
File metadata
- Download URL: jupyter_highlight_selected_word-0.0.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 435497801702b461ddabeae8729dc3dbd5aa48a4e4049ce05f9501de45f093bf |
|
MD5 | aa11cba955836f33b39d1d64f3487cbf |
|
BLAKE2b-256 | 954255841bbe5a5a5f3a6f3895a92b27c8e80ca58858476afe1bf0cdaf91f11e |