Giter Site home page Giter Site logo

Comments (10)

xacid avatar xacid commented on September 24, 2024

How about using regular expression? That is supported.

from highlightwords.

alvolturbo avatar alvolturbo commented on September 24, 2024

And how can I implement it to do it "On Fly" when text selection appears and disappear?

from highlightwords.

seanliang avatar seanliang commented on September 24, 2024

Sublime Text itself will automatically highlight all instances of the single word you selected. I suppose you want the same thing applied to the words you selected.
Check this

from highlightwords.

alvolturbo avatar alvolturbo commented on September 24, 2024

I set "Turn [ regular expression] ON", but I don't have the same effect as you mentioned

from highlightwords.

seanliang avatar seanliang commented on September 24, 2024

The feature is implemented in my local machine only. I will release it after testing.

BTW, regular expression seems unless for this kind of instant highlighting. So, only literal matched words will be highlighted.

from highlightwords.

alvolturbo avatar alvolturbo commented on September 24, 2024

I think this could be helpfull SublimeText/WordHighlight#56

from highlightwords.

alvolturbo avatar alvolturbo commented on September 24, 2024

Would you like to check this thread? It's about enhancing the functionality of "HighlightWords". And may be you should merge your plugin wih the other one (Word Highlight)?
wbond/package_control_channel#3817 (comment)

from highlightwords.

liuhewei avatar liuhewei commented on September 24, 2024

@FabianRed I think the plugin "HighlightWords" is different from "WordHighlight". I'm using both, "WordHighlight" for replacing system default "ctrl+d" and "alt+f3" because most of my time I only want to locate some/all the appeared places of one symbol, and outline them in gutter, usually for multiple-editing; "HighlightWords" for the real "colorfully highlight everything", you can use the configuration ("Regex", "Wholeword", "Casesensitive") to define your own expected behavior, usually for code review. Actually, the name might better be "HighlightStrings" or "HighlightTexts" :)

And I'm looking forward to @seanliang 's implementation on the feature of "instantly highlight what you selected".

from highlightwords.

alvolturbo avatar alvolturbo commented on September 24, 2024

@liuhewei, I see. For now I use them both to. But I think It should be implemented in one "Everything highlight" plugin, where you could select the most wanted regimes (switch on or switch off) in one sets file and you don't need to find each plugin for each feature separately. May be there will be some new features later. Both of them use regular expressions, use hot keys, the same coloring scheme and both could be in same plugin to prevent tuning the same hot keys and unexpected overlap of features. One normal plugin could be better and use the same parts of code, maybe. And, maybe, it could be optimized and faster. Are you agree?

from highlightwords.

laramjo avatar laramjo commented on September 24, 2024

They could give me an example of how to change the color of the word to highlight

from highlightwords.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.