nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] The undo feature


From: Erik Lundin
Subject: Re: [Nano-devel] The undo feature
Date: Thu, 30 Oct 2014 22:18:30 +0100

On Thu, 2014-10-30 at 13:44 -0700, Mark Majeres wrote:
> Erik,
> 
> Looking through the code for add_undo() and update_undo() ....
> 
> when you want to break up the undo then call add_undo(DEL) before do_delete()
> 
> --Mark Majeres

Like this?

SPLIT_BEGIN
do_deletion(BACK);
add_undo(DEL);
do_deletion(BACK);
add_undo(DEL);
do_deletion(BACK);
add_undo(DEL);
do_deletion(BACK);
SPLIT_END

-- 
Erik Lundin <address@hidden>




reply via email to

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