"Smart HighLighting" and "Find Mark Style"
-
“Smart HighLighting” and “Find Mark Style” we don’t see many different HighLighting.
Is that possible to improve it -
one way would be to mix the colors, meaning you choose two more more styles at the same time.
Cheers
Claudia -
I’m not convinced this is what the OP was asking about, but given that that was tough to figure out…let’s go with it…
So I never considered overlaying styles to create more but that is an interesting idea. And you can put it in a macro so that it becomes a one-shot operation. Example:
- put the caret on a word in your document
- choose Macro menu -> Start Recording
- choose Search menu -> Mark All -> Using 1st Style
- choose Search menu -> Mark All -> Using 4th Style (at this point your word at the caret should be colored as @Claudia-Frank 's Style7)
- choose Macro menu -> Stop Recording
- choose Macro menu -> Save Currently Recorded Macro (and give it a name and/or shortcut keycombo…for later use)
FWIW, the new Style7 looks like the color the Incremental Search feature uses when its Highlight all option is enabled (so if you use that feature maybe the new Style7 isn’t all that useful):
If this (or ANY posting on the Notepad++ Community site) is useful, don’t reply with a “thanks”, simply up-vote ( click the
^
in the^ 0 v
area on the right ). -
@Scott-Sumner said:
I’m not convinced this is what the OP was asking about
Me too :-), but realized too late that OP is maybe asking something different,
so deleting the post wasn’t an option anymore.Cheers
Claudia -
Sometimes a (possible/real) misunderstanding takes us into an interesting area of discussion…as it did this time! :-D
-
Hi, @scott-sumner and @claudia-frank,
Ah ! What a clever idea, Claudia : to mix the native styles, and completed by the Scott automation method, with macros
Certainly, some of the 25 combinations will give non interesting colours. But, what about mixing three styles ? May be, some of these mixed colours would be worth to use ?!
BTW, I totally agree to your last post, Scott !
Cheers,
guy038
-
Hi @guy038,
31 combinations in total, but not all can be used as the difference is marginal for some.
Using the same style multiple times has no effect at all.Cheers
Claudia -
@Claudia-Frank yes, but if I need to color more than 5 colors? For example, I want to highlight 10 words, in different colors. Can this be done?
-
I probably don’t understand the point of your question correctly, but isn’t that what is said in the post directly above your comment, combining the styles.
Personally, I don’t think this isreally
a solution, since at least I don’t know 5 seconds later which combination I chose to create that specific color, but others might be better at remembering. -
as @Ekopalypse said, the post directly above yours, which you replied to, already answered your question. There are only the 5 individual colors, but they are not mutually exclusive. So if you want more than that, you combine the colors: For example, if you have the text
Style_1_4_5
and want it a different color from the 5 built-in style colors, what you could do is highlight that word, apply style 1; it should have remained highlighted, so then you could also apply style 4; it should remain highlighted, so then you could also apply style 5. After applying the 3 different styles, the color combination will be different from any of the 5 builtin styles – so it will not be color1, or color4, or color5, but a mathematical combination of the three colors. Using combinations of 1 or more of the 5 builtin styles, you can create 2⁵-1=31 different colors, all 31 of which are shown in Claudia’s post.Also, Claudia left the Community years ago (and I still miss her insights and helpful contributions), so she will not come back to reply to your post.