jed-users mailing list

[2019 Date Index] [2019 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [jed-users] cursor back to last position


On  5.01.19, frank_n_dale@xxxxxxxxx wrote:

> Trying to add a function 'cursor_back_to_last_position' the only idea I got
> is:

> *  add an entry 'lastpoint' to the structure _buffer in buffer.h (and
> recompile)

> *  define in the scripts an update_hook to copy current buffer 'point' to
> current buffer 'lastpoint'.

> Any idea for doing it entirely in the scripts?

I usually use undo/redo (via keybindings). Maybe this could also be used in
a script.

Günter
_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.


[2019 date index] [2019 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]