lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev Re: Final dev15 patch for TEXTAREA edit feature (I hope)


From: Kim DeVaughn
Subject: lynx-dev Re: Final dev15 patch for TEXTAREA edit feature (I hope)
Date: Fri, 5 Feb 1999 07:17:27 -0800

On Fri, Feb 05, 1999, Klaus Weide (address@hidden) said:
|
| > Anyway, I'll keep it in mind, but the cursor repositioning problem is
| > the one thing that *must* be solved first.
|
| How about returning the number of lines added from HText_ExtEditForm,
| then the code in mainloop() after the call just increases curdoc.link
| to MIN(curdoc.link+added_lines,nlinks-1).  I think that would be an
| improvement for what is currently implemented, although it doesn't
| help in your quest for a general moving function.

Essentially tried that, and it works just fine if the target is on the
same screen as the original.  Nastiness happens if scrolling is required.


| I think I would actually prefer the current page no. not changing as
| a result of adding lines with an editor.

Preferences aside, if we start shrinking a previously expanded TEXTAREA
(for a "reset", or whatever), you may not have a choice.  We *must*
scroll to the target anchor, if it isn't already on the screen.

Lemee figure out how to do the repositioning within a TEXTAREA for the
general case, and then we can debate on where the default location
should be ... :-) ...

/kim

reply via email to

[Prev in Thread] Current Thread [Next in Thread]