Community
    • Login

    "Smart HighLighting" and "Find Mark Style"

    Scheduled Pinned Locked Moved General Discussion
    10 Posts 7 Posters 7.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • john leeJ
      john lee
      last edited by

      “Smart HighLighting” and “Find Mark Style” we don’t see many different HighLighting.
      Is that possible to improve it

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @john lee
        last edited by

        @john-lee

        one way would be to mix the colors, meaning you choose two more more styles at the same time.

        Cheers
        Claudia

        Scott SumnerS 1 Reply Last reply Reply Quote 2
        • Scott SumnerS
          Scott Sumner @Claudia Frank
          last edited by

          @Claudia-Frank

          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):

          Imgur

          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 ).

          Claudia FrankC 1 Reply Last reply Reply Quote 2
          • Claudia FrankC
            Claudia Frank @Scott Sumner
            last edited by

            @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

            Scott SumnerS 1 Reply Last reply Reply Quote 1
            • Scott SumnerS
              Scott Sumner @Claudia Frank
              last edited by

              @Claudia-Frank

              Sometimes a (possible/real) misunderstanding takes us into an interesting area of discussion…as it did this time! :-D

              1 Reply Last reply Reply Quote 1
              • guy038G
                guy038
                last edited by

                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

                Claudia FrankC 1 Reply Last reply Reply Quote 0
                • Claudia FrankC
                  Claudia Frank @guy038
                  last edited by Claudia Frank

                  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

                  Hellena CrainicuH 1 Reply Last reply Reply Quote 4
                  • Hellena CrainicuH
                    Hellena Crainicu @Claudia Frank
                    last edited by

                    @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?

                    EkopalypseE 1 Reply Last reply Reply Quote 0
                    • EkopalypseE
                      Ekopalypse @Hellena Crainicu
                      last edited by

                      @Hellena-Crainicu

                      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 is really 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.

                      PeterJonesP 1 Reply Last reply Reply Quote 1
                      • PeterJonesP
                        PeterJones @Ekopalypse
                        last edited by

                        @Hellena-Crainicu ,

                        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.

                        1 Reply Last reply Reply Quote 2
                        • First post
                          Last post
                        The Community of users of the Notepad++ text editor.
                        Powered by NodeBB | Contributors