Community
    • Login

    How To Keep Text Highlighting After closing the document?

    Scheduled Pinned Locked Moved General Discussion
    18 Posts 7 Posters 7.5k 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.
    • Pika714444P
      Pika714444 @Paul Wormer
      last edited by

      @Paul-Wormer

      Okay thanks for letting me know that it’s not possible.

      1 Reply Last reply Reply Quote 0
      • Pika714444P
        Pika714444 @rdipardo
        last edited by

        @rdipardo

        Thanks a lot , i just wanted to highlight some important parts of the commands output in Linux / Networking , it will make my life easier when i open the document and find for Example where to look for a specific part of the output when Entering the command so it will be a lot of time saving , also during studying it will be helpful to highlight some output of the commands to make clear this is an important part of the output and that’s what we are looking for to look like, but unfortunately it’s not possible in NotePad++ as mentioned.

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

          @Alan-Kilborn

          Yes it’s.

          1 Reply Last reply Reply Quote 0
          • Pika714444P
            Pika714444 @mkupper
            last edited by

            @mkupper

            Thanks for elaborating ,i just wanted to highlight some important parts of the commands output in Linux / Networking , it will make my life easier when i open the document and find for Example where to look for a specific part of the output when Entering the command so it will be a lot of time saving , also during studying it will be helpful to highlight some output of the commands to make clear this is an important part of the output and that’s what we are looking for to look like, but unfortunately it’s not possible in NotePad++ as mentioned.

            mkupperM 1 Reply Last reply Reply Quote 0
            • Pika714444P
              Pika714444 @Alan Kilborn
              last edited by

              @Alan-Kilborn

              Yes it’s style #1 thru #5.

              Alan KilbornA 1 Reply Last reply Reply Quote 0
              • Pika714444P
                Pika714444 @Lycan Thrope
                last edited by Pika714444

                @Lycan-Thrope said in How To Keep Text Highlighting After closing the document?:

                It almost sounds like what the OP wants is to be able to keep highlights in the text, somewhat similar to what you can do with Adobe Acrobat in a .pdf. Since NPP does not save the file with that actual highlighting, as does a .pdf, it’s not possible for the OP to achieve what it sounds like he wants

                Yes that’s what i wanted to achieve.

                mpheathM 1 Reply Last reply Reply Quote 1
                • mpheathM
                  mpheath @Pika714444
                  last edited by

                  @Pika714444
                  Your highlighting appears to be line based. Instead of highlighting lines, perhaps bookmarks might be an alternative option as bookmarks are saved in session.xml.

                  Press Ctrl+F2 to bookmark a line.
                  Press Shift+F2 to goto previous bookmark.
                  Press F2 to goto next bookmark.

                  If you close the file in Notepad++, then the bookmarks and other saved settings for the file will be removed from session.xml.

                  More information about bookmarks can be found in the manual within the searching page

                  1 Reply Last reply Reply Quote 2
                  • Alan KilbornA
                    Alan Kilborn @Pika714444
                    last edited by

                    @Pika714444 said in How To Keep Text Highlighting After closing the document?:

                    Yes it’s style #1 thru #5.

                    The author of Notepad++ hinted that remembering such styling in a session file could become a feature someday: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12684

                    Pika714444P 1 Reply Last reply Reply Quote 3
                    • mkupperM
                      mkupper @Pika714444
                      last edited by

                      @Pika714444 said in How To Keep Text Highlighting After closing the document?:

                      @mkupper

                      Thanks for elaborating ,i just wanted to highlight some important parts of the commands output in Linux / Networking , it will make my life easier when i open the document and find for Example where to look for a specific part of the output when Entering the command so it will be a lot of time saving , also during studying it will be helpful to highlight some output of the commands to make clear this is an important part of the output and that’s what we are looking for to look like, but unfortunately it’s not possible in NotePad++ as mentioned.

                      It looks like you want something where you can quickly and easily mark up text as you are reading it. Notepad++ won’t be a good fit. While there are ways to get Notepad++ to color code text they involve a considerable amount of extra work each time you style something and often, there is no easy way to then search for things styled in a certain way.

                      Some of my friends are happy with Microsoft OneNote. It seems to be available for free now and may be a better fit for keeping color coded notes.

                      I myself have moved in a direction of always using plain text and tend to use indention to separate or “highlight” command results from the command. For example:

                      some command
                          results
                          or notes about the results
                      

                      That allows me to use plain Notepad++ plus other tools that deal with plain text files.

                      1 Reply Last reply Reply Quote 1
                      • Pika714444P
                        Pika714444 @Alan Kilborn
                        last edited by

                        @Alan-Kilborn

                        I hope they do it ASAP because it will be a very beneficial feature for highlighting a specific important words/sentences/line in a large text output file , this is the feature i needed actually from the purpose of this post.

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