Menu

Delete all unmarked lines

2007-06-04
2012-11-13
  • Nobody/Anonymous

    Hi there!
    After marking a couple of lines with the help of "Search->Find->Find all" and the "Mark line" option, I would like to preserve only those marked lines, or in other words delete all unmarked lines of text. What's the easiest way to accomplish this?
    Thank you.

     
    • duvi

      duvi - 2007-10-07

      Hi!

      Did you find any solution? I'm facing the same problem.

      Thank you!
      David

       
    • MJG

      MJG - 2007-06-07

      Have you looked at the TextFX Viz menu?  I think you can do what you want with that tool, although it may take some experimenting.  Backups strongly recommended!  --Joel

       
      • Aren Cambre

        Aren Cambre - 2007-06-28

        I couldn't find anything in the menu that accomplishes this. Or if I did stumble across something, it caused Notepad to hang on a 77MB text file.

         
        • MJG

          MJG - 2007-07-01

          Look at the doc file NPPTextFXdemo.TXT for the TextFX stuff, which can be found in the plugins\NPPTextFX subdirectory where Notepad++ is installed.

          There have been reports that Notepad++ is not suited to editing very large files.  --Joel

           
MongoDB Logo MongoDB