Quoting Randy Kramer <[EMAIL PROTECTED]>:

> On Thursday 27 December 2007 04:25 am, Thorsten Haude wrote:
> > * Randy Kramer wrote (2007-12-23 13:13):
> > >On Saturday 22 December 2007 07:33 pm, Thorsten Haude wrote:
> > >> Anyway, feel free to bring up any question about NEdit that comes up,
> > >> on- or off-list. I'm far from the best coder around here, so I can
> > >> learn a lot from discussions like these.
>
> Trying to take advantage of that.
>
> Can anybody either give me some hints, explain to me, or point me to an
> explanation of how cursor movement is handled in nedit?
>
> As a more specific question/example, what happens when the user presses the
> up
> arrow to move the cursor to the next line up?

Xt can bind cursor keys etc to actions. You set these in resources. These
are named in the Help->Action Routines help window. The ones you'll be
interested in are in text.c: look for forward/backward_character and
process_up/down - you'll see they're associated with C routines,
forwardCharacterAP etc, which handle, within NEdit, how the editor should
respond to the key press. Be warned: there's a lot being done!

Tony
-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to