- 29 Dec, 2017 4 commits
-
-
Benno Schulenberg authored
Each leading tab is converted to two tabs, and any leading four spaces is converted to one tab. The intended tab size (for keeping most lines within 80 columns) is now four.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?52755 . Reported-by:
Brand Huntsman <alpha@qzx.com>
-
Benno Schulenberg authored
When unindenting/uncommenting affected the bottom line of the marked region, keep affecting this line also during subsequent consecutive indenting/commenting. This fixes https://savannah.gnu.org/bugs/?52718.
-
- 26 Dec, 2017 6 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
So that Commenting comes closer to the somewhat related Indenting and Unindenting functions.
-
Benno Schulenberg authored
-
David Lawrence Ramsey authored
-
Benno Schulenberg authored
Also, make the descriptions for indenting/unindenting more precise.
-
Benno Schulenberg authored
So they will be found quicker. Also fold two assignments into one.
-
- 24 Dec, 2017 4 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
They were mistakenly added by changeset fb85c055, four commits ago.
-
Benno Schulenberg authored
-
- 23 Dec, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?52717.
-
- 21 Dec, 2017 4 commits
-
-
Benno Schulenberg authored
Suggested-by:
Brand Huntsman <alpha@qzx.com>
-
Benno Schulenberg authored
-
Benno Schulenberg authored
If the marked region ends at the start of a line, do not include that line in the indenting/undenting or commenting/uncommenting. This is closer to what the eye would expect.
-
Benno Schulenberg authored
-
- 19 Dec, 2017 2 commits
-
-
Benno Schulenberg authored
Unset the "Modified" marker only at the point where the file was last saved -- if there is such a point, because it can be missing when the undo stack was discarded. This fixes https://savannah.gnu.org/bugs/?52689 . Reported-by:
Liu Hao <lh_mouse@126.com> Original-idea-by:
Brand Huntsman <alpha@qzx.com>
-
Benno Schulenberg authored
When doing that, there is no need to save and restore the Modified state when writing a marked region.
-
- 17 Dec, 2017 4 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?52651 . Reported-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
Benno Schulenberg authored
-
David Lawrence Ramsey authored
The escape sequence "Esc [ Z" is a backtab on most supported terminals, so make sure convert_sequence() treats it as such.
-
- 16 Dec, 2017 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
The function get_keycode() should never return zero -- it should return either the code from ncurses or the given fallback code. This fixes https://savannah.gnu.org/bugs/?52682.
-
Benno Schulenberg authored
-
- 12 Dec, 2017 2 commits
-
-
Benno Schulenberg authored
To achieve that, fake the Shift key being held when indenting/ unindenting/commenting/uncommenting. Reported-by:
Brand Huntsman <alpha@qzx.com>
-
Benno Schulenberg authored
When the mark is on, instead of letting a <Tab> simply insert a Tab character at the cursor position, let it indent the marked region. Original-idea-by:
Chris Allegretta <chrisa@asty.org>
-
- 11 Dec, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 10 Dec, 2017 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Make both preceding character moves include the terminating byte.
-
Benno Schulenberg authored
The character move has already copied the terminating byte. And a reallocation to save just one character of memory is a waste of time.
-
- 09 Dec, 2017 1 commit
-
-
Benno Schulenberg authored
And also allow it when lines are only partially indented. This makes it possible to equalize the indentations of (accidentally) unevenly indented lines: by first fully unindenting a group of lines, and then reindenting them to the desired amount. Suggested-by:
Liu Hao <lh_mouse@126.com>
-
- 07 Dec, 2017 2 commits
-
-
Benno Schulenberg authored
In this way we can delete things on the current line with ^K (after Shift-selecting some text) without nano misdetecting a line change, This fully fixes https://savannah.gnu.org/bugs/?52576.
-
Benno Schulenberg authored
Only when the cursor has moved off of the currrent line do we stop prepending wrapped words to the next line. This partially fixes https://savannah.gnu.org/bugs/?52576.
-
- 06 Dec, 2017 2 commits
-
-
Benno Schulenberg authored
The option now causes nano to trim trailing whitespace also when hardwrapping occurs while the user is typing.
-
Benno Schulenberg authored
This fulfills https://savannah.gnu.org/bugs/?52198.
-