nano-devel
[Top][All Lists]
Advanced

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

[Nano-devel] cut-till-end-of-file works everywhere?


From: Benno Schulenberg
Subject: [Nano-devel] cut-till-end-of-file works everywhere?
Date: Sun, 06 Apr 2014 10:02:30 +0200

Load a large file, put the cursor somewhere in the centre of
the screen, and then type:  ^R  M-T  ^C.

Notice how after the M-T it says "Modified" but nothing in the
edit window changes.  And see how after the ^C the part of
the file after the cursor is gone.

Surely this cannot be the intended behaviour?  Surely the
line that says:

    add_to_sclist(MALL, "M-T", do_cut_till_end, 0, TRUE);

should say:

    add_to_sclist(MMAIN, "M-T", do_cut_till_end, 0, TRUE);

Right?

(Instead of ^R you can also use ^W or M-R or (dangerous)
^O -- you don't get a chance to type ^C any more.)

Benno

-- 
http://www.fastmail.fm - The way an email service should be




reply via email to

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