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


Had some trouble with network so in case last message didn't get through, the description of what you are trying to do sounds an awful lot like bookmarks.

In case you don't have it you can find the user manual here.

On 1/6/2019 2:43 PM, Guenter Milde wrote:
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>.

--
Roland Hughes, President
Logikal Solutions
(630)-205-1593  (cell)
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com

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


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