-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whole Words option should support the "$" symbol for JS files #141
Comments
It's basically an issue with This is the problem area: https://github.com/richrace/highlight-selected/blob/master/lib/highlighted-area-view.coffee#L116-L121 Potential solution is using a regex like this: However, if you were to remove the non-word characters from Atom's actual config so when you either double click the word or use cmd + d / ctrl + d you'd actually select all the text. But then you'd get the |
Gasp, seems word specific though? |
I remove regex-parse of selection content. So now any characters in selection is available to highlight. https://i.imgur.com/MhJju1r.png Here is patch https://gist.github.com/tonn/0a4d7d7b5e769d573e1d7256754d0a81 |
Just adding this as it is related. If you were to select the word "$container" the other $container words would not get highlighted as expected. This is true to javascript files. |
Can we get this bumped up in priority? In the mean time, you can uncheck "Only Highlight Whole Words" to get around it. |
See #174 |
Basically the same request as #73 but for javascript :), that is, in
state$.subscribe(state => {...})
, double-clicking onstate$
should highlightstate$
and notstate
and vice-versa.In
language-javascript
package settings, I tried removing the$
from the chars I had by default in theNon-Word Characters
setting but it didn't work.Thanks!
The text was updated successfully, but these errors were encountered: