Comments (11)
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.
@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.
@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.
@liuhewei Yeah, I found that too. According to this page, Sublime Text uses the Boost syntax for regular expressions.
from highlightwords.
@ctf0 Would you please post the sample text and search term to clarify your problem? A screenshot is better.
from highlightwords.
what am after is to color the whole selected text (as a one piece with one color).
from highlightwords.
@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.
@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.
@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.
@liuhewei ,thanx for ur hard work ,hope the PR gets merged soon.
from highlightwords.
They could give me an example of how to change the color of the word to highlight
(google translate.)
from highlightwords.
Related Issues (20)
- Auto Highlight for the same “as selected parts of the text” and “substrings” HOT 10
- Not Highlighting New Instances HOT 3
- global name 'REFRESH_INVERVAL' is not defined HOT 2
- How to change the color of a Word to highlight? HOT 1
- Feature Request: Give highlight words definition box memory like the sublime find
- How to hide input field HOT 2
- Enhancement: Syntax Specific Permanent Highlight Lists HOT 2
- Enhancement: Jump to next highlighted keyword HOT 4
- Can it be an open source project?
- Highlight border doesn't match highlight color
- Pls add World color highlight, not background as option HOT 2
- case sensitive not function?
- Add More Examples
- Folding makes text color turn to color scheme default on subsequent highlighted results HOT 1
- Still maintained? HOT 4
- The colors are not reapplied when the file is reloaded
- Highlight capture part only? HOT 1
- Allow regular expressions on highlight HOT 4
- Always highlight a set of keywords HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from highlightwords.