Filter lines - Don't show lines match this RegEx

Started by Stefan, April 24, 2009, 04:06:41 PM

Previous topic - Next topic

Stefan

Did we already talked about this?  ::)
------------------------------------------

Can HippoEDIT filter lines to show them or not?


I think about an feature like:


Don't show lines containing RegEx:
------------------------------------------
|    ^.+HKLM\\.+$                          |
------------------------------------------
[  ] negate expression



It would be nifty to be able to call this option more then once to 'remove'  more lines

--

Even better would be a list of RegEx expressions to execute:

[  ] Filter lines  |  [  ] negate  |  [Edit Filter list]  open plain test file with one regex at each line

--

I don't want to remove this lines for ever but just want an summarized
overview about the docu whit out distempering lines.

For example i want to view diff log .... but remove all this lines containing 'ProcServer32' ... because that are too much of them.

An work around would be to use several times search&replace with nothing,.... but to many work,... and next time again.
The same with  Find=>NewDocument --- this is only one part at every action ,.... and i need several parts to remove.
Perhaps for 1.6?  Or with scripting?
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Arthur

Brilliant! That would be awesome to be able to filter out unwanted text.
IMHO, it can be done as a modified file opened in a new tab.

alex

Hello Stefan,

the idea is not bad. But I do not want to do this in Search Dialog.
I can imagine it as additional bar (as Navigation Bar) on top of the text editor, where you can enter filter expression and get document filtered (no matched lines hided).
Hiding of lines already implemented for outlining.
But this would not work together with outlining (you could not have lines hidden and collapsed for example). Or you could not collapse node, which contain hidded lines.

But I do not know, when would be time for this. By I would put this in todos ;)

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Arthur


alex

How this would be switched on, it is already not a big problem ;)
First, it is not Edit, it is just another representation (lines are not deleted)
Then menu command also does not fit - you need to see your current filter.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]