Copy matching lines in Find output window

Started by JJK, January 16, 2009, 12:43:13 PM

Previous topic - Next topic

JJK

Currently the Find output window receives some data relative to the matching lines, but not the exact content of those lines.
As you intend to enhance Find output window for 1.50, and because Pspad is able to do that, I'd wish the possibility to copy in the Find output window the matching lines found when finding text. So one could for example a new file with only those lines.
Of course each line containing more that one match text would be copied only once.

More, could you add an option to copy instead NON matching lines ?

alex

#1
Ok, I have understood. I think I need two more flag for search... I would try to do this in 1.50, only as I somewhen wrote to Stefan, where to place all this flag in such already overcrouded and large search dialog... :/
Just for information: the line text is cut only if it is bigger then 255 symbols.   This is done for performance reasons, otherwise you can copy coplete file, and if file is 1gb :)
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Stefan

I just found an trick how  to  implement the "copy NON matching lines" feature:

  • search and collect all lines numbers of matching lines.
  • then simple copy lines not in that matched-array.

    To simple to be good? :D

    -----

    > where to place all this
  • add an [Option...]-button at the Search-Dialog to show an "Search Options"-side of the main Tools>Options...-Dialog under [+ ]-Editor
  • "Result Output"- area  could be  shrinked to an Drop-Down menu
  • use an option to expand and shrink the Search-Dialog to two fixed widths
  • or an option to resize the dialog to see more or less options
  • use an tabbed Search-Dialog
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-