Closed mrpeu closed 6 years ago
+1 on this. I love this extension and I also live the Ctrl+B multiselect,.. too bad it's not possible to use these two features together.
@mrpeu I discovered partial solution. If you add "showCursorWhenSelecting": true
into your preferences file (Debug > Open Preferences File
), you can distinguish actually selected strings by blinking cursor... At least something.
@Aldredcz Good tip, thanks.
If you didn't know, brackets has a highlightMatches
option which does what this extension does, but doesn't cause this problem. https://github.com/adobe/brackets/wiki/How-to-Use-Brackets#list-of-supported-preferences
EDIT: this option doesn't highlight the match occurrences on the scrollbar though
Ups, that is the purpose of this extension isn't it?
Thank you @joelmukuthu
@mrpeu more or less, yeah :)
That's awesome joelmukuthu. I never new that option existed. I might be able to default the setting to 'wordsOnly' and use the interal search cursor to add in the scrollbar tickmarks, then this extension will work almost the same as now but more stable and clearer styling. Also this extension alows toggling it from the menu, although that doesn't seem to work anymore, but that's for another ticket.
@enturn that would be great, especially allowing the colours of selections to be themable
The highlighting used completely hinders the "mutli search and select" feature of brackets.
Sublime text resolve this by using a border around the "found" items as seen here(https://www.sublimetext.com/forum/viewtopic.php?f=2&t=17042) They also apply a different style for the selected item and the "found" items.