GNU nano - Bugs: bug #63407, with --autoindent and...
You are not allowed to post comments on this tracker with your current authentication level.
bug #63407: with --autoindent and --breaklonglines, pressing Enter can eat text before the cursor
Submitter: | Tasos Papastylianou <tpapastylianou> | ||
Submitted: | Wed 23 Nov 2022 03:20:10 PM UTC | ||
Severity: | 5 - Blocker | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Thu 15 Dec 2022 08:04:48 AM UTC, comment #7: |
Benno Schulenberg <bens>![]() ![]() |
Mon 28 Nov 2022 10:04:59 AM UTC, comment #6: Fixed in git, commit 4f92b12a, by checking the indentation of the current line (instead of just the sample line). |
Benno Schulenberg <bens>![]() ![]() |
Fri 25 Nov 2022 08:10:30 AM UTC, comment #5: Complete patch with commit message is now attached. |
Benno Schulenberg <bens>![]() ![]() |
Thu 24 Nov 2022 11:47:16 AM UTC, comment #4: Attached patch should fix the issue. Can you confirm, Tasos? |
Benno Schulenberg <bens>![]() ![]() |
Thu 24 Nov 2022 11:39:24 AM UTC, comment #3: Bug has existed since version 2.9.8. :/ The offending commit is d00ab406: "when autoindenting, use indentation of next line as example".
|
Benno Schulenberg <bens>![]() ![]() |
Thu 24 Nov 2022 10:20:26 AM UTC, comment #2: Just to add, in case it is useful information, this has been there for a few versions, it's not a 7.0 thing. I think I first noticed it last year, or maybe even before that.
|
Tasos Papastylianou <tpapastylianou> |
Thu 24 Nov 2022 08:24:32 AM UTC, comment #1: Owww... Badness.
Then press Enter. See how "tw" from the first word has disappeared. M-U does not bring it back. |
Benno Schulenberg <bens>![]() ![]() |
Wed 23 Nov 2022 03:20:10 PM UTC, original submission:
Steps to reproduce:
|
Tasos Papastylianou <tpapastylianou> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 9 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2022-12-15 | bens | Open/Closed | Open | ![]() |
Closed |
2022-11-28 | bens | Status | In Progress | ![]() |
Fixed |
2022-11-25 | bens | Attached File | - | ![]() |
Added 0001-text-upon-Enter-eat-only-lefthand-blanks-not-any-oth.patch, #54013 |
2022-11-24 | bens | Attached File | - | ![]() |
Added verify-all-blanks-before-cursor.patch, #54004 |
2022-11-24 | bens | Status | None | ![]() |
In Progress |
Summary | Pressing enter with Hard Wrap enabled consumes text without ability to undo. | ![]() |
with --autoindent and --breaklonglines, pressing Enter can eat text before the cursor | ||
2022-11-24 | bens | Severity | 3 - Normal | ![]() |
5 - Blocker |
Assigned to | None | ![]() |
bens | ||
2022-11-23 | tpapastylianou | Attached File | - | ![]() |
Added demonstration_of_disappearing_html_tag_bug, #53995 |
Released in 7.1. Thank you for reporting.