nano-devel
[Top][All Lists]
Advanced

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

[Nano-devel] snipping almost twenty lines out of the commenting code


From: Benno Schulenberg
Subject: [Nano-devel] snipping almost twenty lines out of the commenting code
Date: Wed, 01 Jun 2016 10:00:36 +0200

Hello Mike,

See attached patch.

Instead of having a special add_comment_undo() function, it just
uses the general mechanism.  The only drawback that I see is that
when you get the "Cannot comment past end of file" warning, you
/can/ undo and redo this action but nothing actually happens.

If you have a one-liner that prevents that...

Benno

-- 
http://www.fastmail.com - Or how I learned to stop worrying and
                          love email again

Attachment: 0001-text-use-the-general-undo-adding-mechanism-also-for-.patch
Description: Text Data


reply via email to

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