Extension to the useful CompressView() function

1 view
Skip to first unread message

Why Tea

unread,
Sep 30, 2009, 9:07:53 PM9/30/09
to SemWare
I use CompressView a lot. But when viewing log files, I often wish the
Alt-E "Edit this list" can be extended to show n lines before and m
line after the found text.

For example:

Paragraph 1
with a bunch
of junk
xxx...

Paragraph 2
also with a bunch
of junk
yyy...

Paragraph 3
with even
more junk
zzz...

This is what I would like the extended Alt-E to work:
- alt-v and enter "bunch"
- alt-e // pop-up box to ask user for n lines before and m lines after
the found line
// assume n=n and m=1, then the output will be:

Paragraph 1
with a bunch
of junk

Paragraph 2
also with a bunch
of junk

Paragraph 3
with even
more junk

Would anyone like to take up the challenge?

Why Tea

Carlo Hogeveen

unread,
Oct 1, 2009, 2:41:03 AM10/1/09
to sem...@googlegroups.com


I made a quick first version of "eVwFinds":
http://www.xs4all.nl/~hyphen/tse/index.html

Alt-E isn't implemented yet, and it only works on the current file.

Carlo

Why Tea

unread,
Oct 1, 2009, 3:39:19 AM10/1/09
to SemWare
Hi Carlo,

It took you no time at all :) It's looking good. Can't wait to get the
final version. Thanks!

/Why Tea

Carlo Hogeveen

unread,
Oct 1, 2009, 7:40:17 PM10/1/09
to sem...@googlegroups.com

There now is a version 1.1 of eVwFinds which IMHO sufficiently
meets the specs.

I have a nice idea for a version 1.2: if it works it will be at the
same place by the end of this week, without an addinional e-mail.

http://www.xs4all.nl/~hyphen/tse/index.html

Carlo


-----Original Message-----
Behalf Of Carlo Hogeveen
Subject: [TSE] Re: Extension to the useful CompressView() function

Why Tea

unread,
Oct 1, 2009, 10:48:15 PM10/1/09
to SemWare
Two more requests:

1) Automatically picks up marked text, otherwise
picks word at cursor

2) Displays total number of finds at the top

Thanks for the good work.

/Why Tea
Reply all
Reply to author
Forward
0 new messages