Community
    • Login

    Does NPP have selective line editing?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 2 Posters 742 Views 1 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.
    • bofhlusrB Offline
      bofhlusr
      last edited by

      I’m trying to replace my text editor (Kedit). This old text editor (legacy mainframe editor was the Xedit) has selective editing. After several updates I’m wondering if NPP now has selective line editing.

      Something like this… issuing the ‘all [target]’ enables selective editing of the target lines eg.

      Kedit selective line editing-10-11-2024 11-58-54 AM.jpg

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @bofhlusr
        last edited by Alan Kilborn

        @bofhlusr

        Short answer: No.

        If Notepad++ had a robust hide-lines/show-lines capability (it has a rudimentary one, complete with bugs), then something like you describe could be implemented as a script (because Notepad++ has a very robust scripting plugin), but…alas…

        If you want to experiment, the best Notepad++ has to offer is on the View menu; see Hide Lines.

        bofhlusrB 2 Replies Last reply Reply Quote 2
        • bofhlusrB Offline
          bofhlusr @Alan Kilborn
          last edited by

          @Alan-Kilborn said in Does NPP have selective line editing?:

          @bofhlusr

          Short answer: No.

          If Notepad++ had a robust hide-lines/show-lines capability (it has a rudimentary one, complete with bugs), then something like you describe could be implemented as a script (because Notepad++ has a very robust scripting plugin), but…alas…

          If you want to experiment, the best Notepad++ has to offer is on the View menu; see Hide Lines.

          I’ll experiment. I’m hoping I can selectively view and edit comments made in the code using npp. Thank you.

          1 Reply Last reply Reply Quote 1
          • bofhlusrB Offline
            bofhlusr @Alan Kilborn
            last edited by bofhlusr

            @Alan-Kilborn said in Does NPP have selective line editing?:

            @bofhlusr

            Short answer: No.

            If Notepad++ had a robust hide-lines/show-lines capability (it has a rudimentary one, complete with bugs), then something like you describe could be implemented as a script (because Notepad++ has a very robust scripting plugin), but…alas…

            If you want to experiment, the best Notepad++ has to offer is on the View menu; see Hide Lines.

            Can npp hide all the lines in a file, and then unhide and display only the lines found in search?

            Alan KilbornA 1 Reply Last reply Reply Quote 0
            • Alan KilbornA Offline
              Alan Kilborn @bofhlusr
              last edited by

              @bofhlusr said in Does NPP have selective line editing?:

              Can npp hide all the lines in a file, and then unhide and display only the lines found in search?

              Short answer: No (again).

              There have been ideas proposed before about a Find All in Current Document search having a checkbox parameter to show only the lines with search hits (and thus hiding all others), but – I think I said this before – the hide/show lines feature in Notepad++ is not robust, so I’d think that anything based on the idea of hiding/showing lines conditionally is going to be flawed.

              1 Reply Last reply Reply Quote 0

              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