GNU nano - Bugs: bug #50123, version 2.7.4 and older would...
You are not allowed to post comments on this tracker with your current authentication level.
bug #50123: version 2.7.4 and older would color far too much after a change
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sun 22 Jan 2017 09:05:26 PM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Fri 24 Feb 2017 10:30:07 AM UTC, comment #3: |
Benno Schulenberg <bens> |
Mon 23 Jan 2017 08:29:55 PM UTC, comment #2: No, the proposed different method of resetting multidata doesn't help -- not in current git. The reason is the mechanism that is explained in bug #50121: it simply gets confused when a line contains multiple matches: it always thinks that the first one is a start match and the latter an end match. |
Benno Schulenberg <bens> |
Mon 23 Jan 2017 07:10:19 PM UTC, comment #1: Another illustration of miscolorings: run 'stty cols 80 && stty rows 24 && /home/ben/Programoj/nano-2.7.4/src/nano --syntax=2 +12,29 NEWS', then type nine times M-=, and then press <Del> on the frist quote of "Shemesh! Shemesh!". Wow: the preceding paragraph becomes green! In general this should be impossible: nothing that I do here can create colors before the current position; it can only wipe them. With one exception: when there is an unterminated start match before the current position and we create an end match here. Apparently in this case nano-2.7.4 mistakenly finds that there is an unterminated start match somewhere scrolled off at the top.
|
Benno Schulenberg <bens> |
Sun 22 Jan 2017 09:05:26 PM UTC, original submission:
To reproduce, add the following three lines to your ~/.nanorc:
|
Benno Schulenberg <bens> |
No files currently attached
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 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-02-24 | bens | Open/Closed | Open | Closed | |
2017-01-23 | bens | Status | None | Fixed | |
Assigned to | None | bens |
Powered by Savane 3.13-3230.
Corresponding source code
Anyway, to repeat: things were fixed by commit 9a4a5454.