Highlight Occurrences

Highlight Occurrences visually marks all instances of the selected text or search term in the script, helping you quickly identify patterns, variables, or repeated code elements.


🛠️ Setup

Before using the tool, configure its behavior in Textify Preferences:

  • Highlight Mode:

    • Auto: If a search term is entered, it highlights all matches for that term. If not, it highlights matches of the current selection.

    • Find Text: Highlights only the matches of the active search term.

    • Selection: Highlights all occurrences of the selected text, regardless of search input.

  • Case Sensitive: Match only text that shares the same capitalization as the selected or searched word.

  • Show in Scrollbar: Toggles small indicators on the scrollbar, giving you a quick visual overview of all occurrences.

  • Color: Choose a predefined highlight color theme, or select Custom to define your own:

    • Background color of the highlight

    • Foreground (text) color

    • Scrollbar indicator color


❓How to Use

To activate:

  • Use the toggle found in the Textify popover in the Text Editor header.

⚠️ Note: The Highlight Occurrences toggle resets each time you restart Blender. You must manually enable it after reopening.

Once enabled, highlights will appear in your text editor based on the mode you selected in preferences.

Last updated