[pedevel] Re: patch suggestion

  • From: "Andrew Bachmann" <shatty@xxxxxxxxxxxxx>
  • To: pedevel@xxxxxxxxxxxxx
  • Date: Mon, 03 Nov 2003 17:38:50 -0800 PST

Oliver Tappe wrote
> 
> Err, how do you add a second line to the find-textview=3F I have just tried 
> and it only accepts one single line. That's why my patch isn't checking for 
> a modifier key being pressed together with CURSOR=5FUP/DOWN. 
> As far as I understand it, Pe just doesn't use the cursor keys in the 
> find-dialog (if it *does* then one should of course fix the patch to check 
> for a modifier, too).

Hmm... apparently you can't add a second line.  I thought it was
possible to do via the Alt-E mechanism but I was wrong.  This is
a bug anyway, multiline search and replace is one of those reasons
why I can't yet delete Eddie off my hard disk. :-)  It's also obvious
(to me) that the GUI is set up to accept such things.

> 2) Imagine you are in the middle of typing a long search-string and then 
>    have the idea that you've used that one before and use cursor-up to
>    navigate through the list of used patterns, only to find that it isn't
>    there.
>    If you then press cursor-down to get back to your edited string, you
>    can't since it hasn't been added to the list yet...
> 
> I am not sure about 2). Any ideas=3F

#2 should behave like a history in the shell, right=3F  I would suppose that
there is a dedicated space for storing the "last entry".  This wouldn't be
in the gui, it'd have to be in an extra char*/BString lying around.  When
the user gets to the end of the list, grab the value from that.  When the
user moves up, store it there.

Sorry I haven't tried the rest of your patch yet but I am pretty busy at
the moment.

Andrew


Other related posts: