t9md / atom-quick-highlight

Highlight text quickly
https://atom.io/packages/quick-highlight
MIT License
32 stars 7 forks source link

Highlight following the cursor #22

Open x0zzz opened 7 years ago

x0zzz commented 7 years ago

Is there a way to enable highlighting whatever is under the cursor without any need for shortcut to be pressed, i.e. wherever the cursor goes, the highlight changes/follows to the word under it? Or is there maybe a package I could look into? I couldn't find any on my own...

I would really appreciate any help because I find such feature extremely useful.

Thanks for all the great work you do.

t9md commented 7 years ago

No, quick-highlight package currently have no such feature for now. I quickly searched that package and I too can't find that package.

I'll quickly check if I can implement that feature in this package.

x0zzz commented 7 years ago

@t9md did you have time to check? Can it be done within quick-highlight? Or do I need to hack it or write something on my own?

t9md commented 7 years ago

I tried, and partially success, but was not easy. So I postponed to polish further. I haven't published my stopped work. What was difficult part is to highlight with word-boundary, skip non-word-char(it's noisy unless doing some filtering).

Why I stopped is

I might re-start this feature attempt when I want to, but can't say when.l

x0zzz commented 7 years ago

@t9md Alright, thanks for giving it a shot. I hope strong dopamine hit strikes you soon and the overwhelming urge will compel you to finish what you already started :) Thanks for all your work!