Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to highlight text?

    General Discussion
    6
    9
    44254
    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.
    • Rowan Sylvester-Bradley
      Rowan Sylvester-Bradley last edited by

      How in N++ do I highlight a few words or a few lines in a text document? This could either be by changing its colour, or by adding a coloured background to it, or in some other way. I find that when I’m looking through a 20 Mbyte log file, and I want to come back to a section to analyse in more detail what’s going on, I often want to highlight it or flag it in some way. How do I do this?

      Thanks - Rowan

      Meta Chuh Alan Kilborn 2 Replies Last reply Reply Quote 0
      • Meta Chuh
        Meta Chuh @Rowan Sylvester-Bradley last edited by

        @Rowan-Sylvester-Bradley

        if you like to highlight words or sections temporarily, go to the menu search > mark, enter a text to highlight, and press mark.

        if you have about the same repeating keywords every time, you can create a user defined language at the menu language > define your language > create new.
        there you can set your desired keywords at the keywords list, where you have 8 groups available, where each can have different font and colour settings.

        best regards.

        1 Reply Last reply Reply Quote 5
        • Alan Kilborn
          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 gohil
            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 Kilborn 1 Reply Last reply Reply Quote 2
            • Alan Kilborn
              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-Makwana4145
                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…

                1 Reply Last reply Reply Quote 0
                • Alan Kilborn
                  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.

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

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • mikegonzalez2k
                      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
                      • First post
                        Last post
                      Copyright © 2014 NodeBB Forums | Contributors