[quote=âtphalpâ]That was one of my dislikes with BracketHighlighter as well, when I first installed it.
If you look in the default settings file for BracketHighlighter, there is a setting called, âdebounce_delayâ, and the default is â500â, meaning 500 milliseconds. I changed it to â0â, and it works instantaneously. Give that a shot.
Of course, youâll most likely want to add the changed setting to the User Settings file, instead of changing the Default Settings file.[/quote]
The only downside to reducing the delay is that it may begin to cause some stalling when typing fast or quickly selecting in large files. Usually if I reduce the delay, I also reduce the search distance allowable for matching brackets/tags to cut down on lag.
It is what it is though. There are some limitations when working in Python through the ST2 API. Certain plugins and/or algorithmic approaches expose the limitations more than others (BracketHighlighter might do a little of both).
I have considered overhauling the code to do the bulk of the code on a background thread popping into the main one only to update highlighting etc, maybe taking into account waiting until typing stalls long enough. It just depends how much of the ST2 API calls are allowable on the background thread. I may have to do some serious re-architecting, but I am considering it. You will still get delays when search distance is very large though, but it would give you possibly more instant search on closer brackets/tags.
Anyways, I may fool around with this in the future when I have time and motivation. Donât hold your breath for it any time soon though. Something like this (if it even worked well) would be a major revision.