Community
    • Login

    How to highlight text?

    Scheduled Pinned Locked Moved General Discussion
    12 Posts 9 Posters 183.0k Views 2 Watching
    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.
    • Alan KilbornA Offline
      Alan Kilborn @Rowan Sylvester-Bradley
      last edited by Alan Kilborn

      @Rowan-Sylvester-Bradley

      In addition to @Meta-Chuh 's suggestions, how about Search > Mark All > ... which will work on preselected text?
      There you’ll find FIVE different colors for your pleasure. And by using Search > Jump Down > … you can easily come back later. (Also Jump Up).

      1 Reply Last reply Reply Quote 4
      • ajay gohilA Offline
        ajay gohil
        last edited by

        To highlight a block of code in Notepad++, please do the following steps

        1)Select the required text.
        2)Right click to display the context menu
        3)Choose Style token and select any of the five choices available ( styles from Using 1st style to using 5th style). Each is of different colors.If you want yellow color choose using 3rd style.

        Alan KilbornA Farhan YazidF 2 Replies Last reply Reply Quote 1
        • Alan KilbornA Offline
          Alan Kilborn @ajay gohil
          last edited by

          @ajay-gohil

          Except for the context menu part, that’s the same thing I said. I rarely use the feature, so I forget it is also on the context menu.

          1 Reply Last reply Reply Quote 1
          • Prahlad-Makwana4145P Offline
            Prahlad-Makwana4145
            last edited by

            –> To highlight a block of code in Notepad++, please do the following steps

            step-1 :- Select the required text.

            step-2 :- Right click to display the context menu

            step-3 :- Choose Style token and select any of the five choices available ( Styles from Using 1st style to using 5th style ). Each is different colors. if you want yellow color choose using 3rd style.

            –> If you want to create your own style you can use style configurator under Setting menu…

            Abhay SolankiA 1 Reply Last reply Reply Quote 0
            • Alan KilbornA Offline
              Alan Kilborn
              last edited by

              Why do people just keep saying the same things over and over? Really, if you don’t have something new and different to say, don’t reply and waste the bandwidth of all the readers of this forum.

              mikegonzalez2kM 1 Reply Last reply Reply Quote 0
              • mikegonzalez2kM Offline
                mikegonzalez2k @Alan Kilborn
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • mikegonzalez2kM Offline
                  mikegonzalez2k
                  last edited by mikegonzalez2k

                  Here are the steps to highlight your CURRENT LINE.

                  Settings -> Style Configurator

                  60928979-6048-4ffd-a7e1-28b1242a7295-image.png

                  Global Styles -> Current Line Background
                  Change the Background Color.
                  In my case I turned it to a dark blue.

                  be062026-2806-40f0-99db-f3a8b20c1ef1-image.png

                  1 Reply Last reply Reply Quote 0
                  • Abhay SolankiA Offline
                    Abhay Solanki @Prahlad-Makwana4145
                    last edited by

                    @Prahlad-Makwana4145 thanks

                    1 Reply Last reply Reply Quote 0
                    • Farhan YazidF Offline
                      Farhan Yazid @ajay gohil
                      last edited by

                      @ajay-gohil

                      Hi, any shotcut button to assign the highlight funtion?

                      PeterJonesP 1 Reply Last reply Reply Quote 0
                      • PeterJonesP Online
                        PeterJones @Farhan Yazid
                        last edited by

                        @Farhan-Yazid said in How to highlight text?:

                        Hi, any shotcut button to assign the highlight funtion?

                        By default, the Style One Token / Style All Occurrences of Token commands do not have keyboard shortcuts.

                        But if you use Settings > Shortcut Mapper, set Filter = style, you can choose any of them and use Modify to set a keyboard shortcut for that token-highlight style.
                        1ccdb944-484d-4a28-9bc6-c301a59b0478-image.png

                        (In case it’s not clear: Style all using Nth style in that dialog corresponds to Search > Style All Occurrences of Token > Using Nth Style [or the right-click context menu equivalent]; Style one using Nth style corresponds to Search > Style One Token > Using Nth Style [or the right-click context menu equivalent]. And for further clarification: the Search > Mark All that @Alan-Kilborn mentioned 6 years ago is the same as what’s now known as Search > Style All Occurrences of Token)

                        1 Reply Last reply Reply Quote 1

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post
                        The Community of users of the Notepad++ text editor.
                        Powered by NodeBB | Contributors