nano-devel
[Top][All Lists]
Advanced

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

Re: [wish] copy-pasting indented code when auto-indent is on


From: Brand Huntsman
Subject: Re: [wish] copy-pasting indented code when auto-indent is on
Date: Thu, 2 Jan 2020 04:30:58 -0700

On Thu, 2 Jan 2020 12:02:52 +0100 (CET)
Seb <address@hidden> wrote:

> Would it be possible for Nano to temporarily deactivate auto-indent
> if it detects that we're pasting indented lines? (Perhaps the speed
> at which the characters arrive signals that we're not typing?)

https://savannah.gnu.org/bugs/?40060 contains a patch to detect pasting. It 
would be easy for the auto-indent code to read that variable and not 
auto-indent during a paste.




reply via email to

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