-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Allow to add highlight rules from selected text #270
Comments
Hi~Thank you very much for receiving your reply, and also thank you for treating it as a new feature. I want to continue to add that the "Ctrl + Shift + Num<1-9>" I mentioned is just a reference. What I want to express is to use different shortcut keys to support different color labels. I believe it is very convenient for most users, thanks again! |
As my most expectant feature, I'm just curious about is there some progress or plan on this? |
This is work in progress. Allows to assign color labels to selected text. For now there are 3 color labels: red, green and cyan. Selected words can be colored with one of these labels using shortcuts: `Ctrl+Shift+1/2/3`. All labels are cleared using shortcut `Ctrl+Shift+0`.
I've been experimenting with this. For now core part is ready but UI is lacking. There are three predefined color labels (red, green and cyan) and shortcuts to assign them ( Ideally there should be a color configuration dialog for labels and context menu to assign and remove them. |
So cool, that sounds great, I can’t wait to experience it! |
Can be tested in builds 21.06.0.1050+ |
This is cool and super useful for me, thanks. I found that One more optimization, would you like to add the logic that when I press |
@xaljer thanks for the feedback. Clearing single pattern should be available in 21.07.0.1069 |
Just list some further idea on this feature to track:
|
Added color configuration to current highlighters configuration dialog. Cycling shortcut is |
Thanks a lot. A suggestion: cycling shortcut should have same behave as |
Should be in 21.08.0.1112 |
Yes, this is strange. Color labels are supposed to be reset to default if none are found in current configuration. I'll take a look. |
Fixed default initialization of color labels in 21.08.0.1154 |
Fixed colors in menu for Windows in 21.09.0.1159 |
This feature is pretty cool, now I can uninstall notepad++. |
One more suggestion: reset the color label cycle to first when clear all labels. This will make cycling behavior more definite. |
Better default colors are in 21.09.0.1165. |
I consider this finished for current milestone. |
@variar would you like to also implement this? |
@xaljer sorry, missed that part. Should be in next builds. |
That sounds pretty cool, but I'd like to add one more thing: some shortcuts support for this. Such as Ctrl + Shift + Num<1-9> to set a different color. For example, when you select a keyword or a word you want to remember, you can mark it red by Ctrl + Shift +1, and then if others keyword or a word you want to remember again, you can mark it yellow by Ctrl + Shift +2, etc. Of course , the right-click selection is also supported. Hope it can be adopted, thank you!
Originally posted by @Junbo-Zheng in #259 (comment)
The text was updated successfully, but these errors were encountered: