nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] RFC: change the behavior when indenting/commenting a ma


From: Benno Schulenberg
Subject: Re: [Nano-devel] RFC: change the behavior when indenting/commenting a marked region?
Date: Fri, 15 Dec 2017 19:35:38 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0


Op 12-12-17 om 21:22 schreef Benno Schulenberg:
Is there anyone who has objections against (slightly) changing the behavior of
indenting/unindenting/commenting/uncommenting when the end point of the marked
region is at the very start of a line?  The change is that in that case this
line will not be included in the action.

This will cause strange behavior when unindenting and the endpoint of the
marked region is at first *not* at the start of a line, and unindenting
brings it there.  Then reindenting the region will not include this line
in the reindentation.  This will be unexpected and unwanted.

Of course it will be possible to somehow remember whether the endpoint
of a marked region was initially at the start of a line or not, but that
sounds tricky to get right.

Benno



reply via email to

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