On Thu, 27 May 2004, Beckett Richard-qswi266 wrote:

> Date: Thu, 27 May 2004 09:36:52 +0100
> From: Beckett Richard-qswi266 <[EMAIL PROTECTED]>
> To: Perl-Win32-Users <[EMAIL PROTECTED]>
> Subject: RE: Editor - finding lines
>
> > I would think just a normal search feature would be good enough.
> > Find the first one and then hit next for the next one etc.
>
> That, IMO is the best feature of Crimson Editor... you can highlight
  something with the mouse, hit F3 and it takes you to the next
  instance of it, hit <shift>F3 and it takes you to the previous one.
>
> And for free, it's worth every penny ;-)
>
> R.

Greetings;

Yes, Crimson is very good. I have it installed on all (8) of
the computers I use.

But, if you have ever used XEdit/THE you would not consider
"a normal search feature" to be anywhere near "good enough."

The feature in XEdit displays only the lines/records
containing the search string. Similar to layers in an image
editor or a DTP program. So, if you can display 80 lines in
your window you will see 80 lines that contain your search
string, not just 80 lines, one or two of which contain it.
Scrolling continues to show only lines containing the search
string.

ob: perl,

Suppose you need to find all the places where child is
called and in what subroutines it may be in. The command
would be

    all /&child(/|(/sub /&/ {/)

and you would be viewing all subroutine headers and all
calls to child in the correct order, and only those lines.


Xedit was developed back in the '80s and was a big hit when
it came out. Previously there was only a line editor. It is
just unfortunate that other full-screen editors didn't
incorporate some of its features.

Get THE and check it out. It is very customizable and may
give you some ideas if you decide to write an editor of
your own!

Good Luck!
Dennis
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to