EmEditor (text editor) Forum Index
   Questions and Answers about EmEditor Core
     Filtered view?
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
ujr
Posted on: 2/27/2010 1:15 pm
Just popping in
Joined: 4/2/2008
From:
Posts: 17
Re: Filtered view?
Thank you for your reply.

My first concern here is to "view", but I could imagine the need to edit this special view.

Let's suppose I have a log file - not a server log, but a debug output log. This could be something like
---
Info: abc
Error: description1
Info: cba
Error: description2
Trace: aabbcc
Trace: dddd
Error: description3
---
much, much longer of course. What I would like to view is
---
Error: description1
Error: description2
Error: description3
---
i.e., hide lines that don't start with "Error:" (or, with other words, show only such lines). Such, I would have a very good overview of errors.
I cannot delete the lines between Error lines, because context will become important later on. I would like to find certain errors or certain details in the description and "expand" the file around this special error.
Maybe I'd like to add some comment to the lines for a colleague ("probably not important for the bug to be found" a.s.o.) - which is where the "edit" comes into play.

Do you think this use case it too uncommon? I, at least, could imagine similar requirements for csv files.

Maybe you could see it like a special kind of folding - fold everything between errors. In the meantime I remembered VIM, which has a folding by expression mode. Of course this is a bit complicated. It probably could be simplified for certain cases.
Flat Previous Topic | Next Topic


Subject Poster Date
   Filtered view? ujr 2/27/2010 11:15 am
     Re: Filtered view? Yutaka 2/27/2010 12:31 pm
     » Re: Filtered view? ujr 2/27/2010 1:15 pm
         Re: Filtered view? Yutaka 2/27/2010 2:47 pm
           Re: Filtered view? ujr 11/28/2012 4:38 am

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文