Menu

Collect marked lines?

2008-03-20
2012-11-13
  • Emp. Palpatine

    Emp. Palpatine - 2008-03-20

    I was wondering if it was possible to group, or perhaps collect, all lines that have been marked with the yellow star in the margin?

    Here is my situation:
    I code some websites with php, and I use microtime() to monitor script load times. So after each script finishes it's load, the code outputs the rendering time. So throughout the html output, there are perhaps 50 time indexes that I need to collect, each preceded with the words 'Render Time:'...

    Notepad++ has a utility to mark each line with 'Render Time:' in it, but I don't know how to collect all those lines together so I can see all the load times at once.

    Can anybody offer some suggestions? Thanks

     
    • Nobody/Anonymous

      Take a look here:

      "How to: copy lines by regex using TextFX Viz"
      http://sourceforge.net/forum/forum.php?thread_id=1964719&forum_id=331754

      It explains how to display (or hide) those (un)wanted lines first.
      Of course you can do the same trick without using the regular expression mode.

       
      • Nobody/Anonymous

        If you only want to keep certain lines, you may also want to use a tool like TextCrawler to directly extract those lines.

        http://www.digitalvolcano.co.uk/textcrawler.html

         
      • Nobody/Anonymous

        Thanks, exactly what I needed!