[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] [PATCH] text: Avoid creating indent-only lines in autoinden
From: |
Florian Zeitz |
Subject: |
[Nano-devel] [PATCH] text: Avoid creating indent-only lines in autoindent |
Date: |
Sat, 22 Oct 2016 10:41:58 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
This avoids leaving indentation behind on otherwise empty lines.
This is achieved by removing indentation when Enter is hit while
current_x is at the end of the current lines indentation.
This requires temporarily disabling autoindent, when creating
whitespace-only lines is desired.
Signed-off-by: Florian Zeitz <address@hidden>
0001-text-Avoid-creating-indent-only-lines-in-autoindent.patch
Description: Text Data
- [Nano-devel] [PATCH] text: Avoid creating indent-only lines in autoindent,
Florian Zeitz <=