SublimeText / WordHighlight

Highlight all copies of the currently selected word.
MIT License
180 stars 24 forks source link

Option suggestion: ignore word boundry, highlight all occurrences of selection when selection not empty #50

Closed JonasNo closed 10 years ago

JonasNo commented 10 years ago

When the option is on: It will do normal word highlighting but when the user selects some text. All the occurrences of the text will be highlighted ignoring word_separators.

Additional limited could be added to not degrade speed for slow computers:

adzenith commented 10 years ago

Please feel free to send a pull request if you have one!

SystemDisc commented 10 years ago

That sounds like an awesome feature and I just found out about this plugin. I'll see what I can do to help if no one's working on this yet.

JonasNo commented 10 years ago

No one is working on the suggestion. Please go ahead and work on it.

SystemDisc commented 10 years ago

Will do

alvolturbo commented 10 years ago

Is there the way to make in Sublime Auto Highlight for the same "as selected parts of the text" and "substrings/subsequences"? "WordHighlight" plugin highlights only whole words, not sequence of the any chars (for example: parts of two words devided with space). I need highliting of the text parts like ALT+F3 can do it, but this combo selects text for editing. I need only coloring of the same sequences of the chars I selected (not for editing, only coloring and highlight to quick find the same instances i selected "On Fly" when text selection appears and disappear).

adzenith commented 10 years ago

This is fixed. See https://github.com/SublimeText/WordHighlight/issues/55.

SystemDisc commented 10 years ago

Sorry, I forgot about this. This specific issue is not fixed. This issue relates to partial selections.

Example: Select partial the word, partials should be partially highlighted

Edit: this is why there was a suggestion for an option for "Minimum text selection length" Also, I'm pretty busy with work, so I'm not sure I'll have time to update the code and submit a pull request.

SystemDisc commented 10 years ago

See the screenshots @Fabianred posted in #55

titoBouzout commented 10 years ago

See https://github.com/SublimeText/WordHighlight/pull/56

alvolturbo commented 10 years ago

nice, thanks )