Monnoroch / ColorHighlighter

ColorHighlighter - is a plugin for the Sublime text 2 and 3, which underlays selected hexadecimal colorcodes (like "#FFFFFF", "rgb(255,255,255)", "white", etc.) with their real color. Also, plugin adds color picker to easily modify colors. Documentation: https://monnoroch.github.io/ColorHighlighter.
https://sublime.wbond.net/packages/Color%20Highlighter
1.31k stars 130 forks source link

Feature-Request: Add render delay option to prevent Quick-File-Jump/Search from being slow #470

Open h0jeZvgoxFepBQ2C opened 5 years ago

h0jeZvgoxFepBQ2C commented 5 years ago

Could you add a delay to start rendering only, if the file has been open for x seconds?

Right now Color Highlighter is making my QuickFileJump/Search dialogue really slow and unresponding (see also #469 ), since on each found result which shows up, the regexp matcher starts immediatly (even when the search result only shows up for 10ms, because another file matched the search string better). If the matcher starts a bit delayed && the file is still open - it wouldn't show this behaviour?

What do you think? Great plugin btw!!! ❤️

h0jeZvgoxFepBQ2C commented 5 years ago

I investigated a bit more - even when I turn off all highlighting the file jump dialogue is slow?! It's performance becomes normal again only when I deactivate the ColorHighlighter plugin?

LOQUILLO commented 4 years ago

Hi @h0jeZvgoxFepBQ2C it is necessary to have at least 12 or 8 GB of RAM installed