Community
    • Login

    Does NPP have selective line editing?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 2 Posters 203 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.
    • bofhlusrB
      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
        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
          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
            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
              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
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors