Giter Site home page Giter Site logo

Comments (11)

seanliang avatar seanliang commented on June 26, 2024

Turn on the "Regular Expression" option (Edit > Highlight Words > Toggle Settings), then you can use "\ " (For example, "Hello\ World") to treat multiple words as a block.

from highlightwords.

liuhewei avatar liuhewei commented on June 26, 2024

@seanliang Hi Sean,

Could you add some documentation for the regex syntax which is used in HighlightWords? I found it's not totally the same general usage in python, ruby and other languages, or not cover all the features.

Thanks.

from highlightwords.

ctf0 avatar ctf0 commented on June 26, 2024

@seanliang ,worked for the first time and then stopped ,also most of the time it just falls back to selecting matched words only whether the Regular Expression is on or off.

from highlightwords.

seanliang avatar seanliang commented on June 26, 2024

@liuhewei Yeah, I found that too. According to this page, Sublime Text uses the Boost syntax for regular expressions.

from highlightwords.

seanliang avatar seanliang commented on June 26, 2024

@ctf0 Would you please post the sample text and search term to clarify your problem? A screenshot is better.

from highlightwords.

ctf0 avatar ctf0 commented on June 26, 2024

@seanliang
prev

what am after is to color the whole selected text (as a one piece with one color).

from highlightwords.

seanliang avatar seanliang commented on June 26, 2024

@ctf0 I've updated the plugin to fix a bug of translating the selected text into regular expressions. Would you please update and check whether your problem is gone?

from highlightwords.

ctf0 avatar ctf0 commented on June 26, 2024

@seanliang now it works but there are a couple of bugs ,

1-when you chose to highlight words option from the quick panel ,it doesn't clear the previews regex so now if you want to highlight something it will be highlighted + whatever you highlighted b4.(even if you used the unhighlight option b4 you select new text)

2-pressing esc doesn't do anything ,u still get the highlighting ,i believe its related to the bug above.

from highlightwords.

liuhewei avatar liuhewei commented on June 26, 2024

@ctf0 Yes, it also bothers me a little. I think better clear all the highlight words when I escape the panel. It's easier for me.

from highlightwords.

ctf0 avatar ctf0 commented on June 26, 2024

@liuhewei ,thanx for ur hard work ,hope the PR gets merged soon.

from highlightwords.

laramjo avatar laramjo commented on June 26, 2024

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

(google translate.)

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.