GNU nano - Bugs: bug #26111, Colour syntax highlighting is...
You are not allowed to post comments on this tracker with your current authentication level.
bug #26111: Colour syntax highlighting is broken for multi-line C comments
Submitter: | Dave Lemonby <dreamlax> | ||
Submitted: | Wed 08 Apr 2009 01:40:07 AM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Fri 13 Jun 2014 08:32:19 PM UTC, comment #6: |
Benno Schulenberg <bens> |
Sat 17 May 2014 08:31:57 PM UTC, comment #5: A fix for this went into SVN, r4902. Please test and report back, if you can. |
Benno Schulenberg <bens> |
Wed 14 May 2014 04:16:42 PM UTC, comment #4: This miscolouring only happens when the color command for comments (the one with 'start=' and 'end=') is the last one in the file. When you add a silly extra one, say 'color red "not any more!"', then the miscolouring no longer occurs. So, with the current c.nanorc, I don't see this miscolouring any more, because the color command for trailing whitespace comes last. |
Benno Schulenberg <bens> |
Fri 21 Feb 2014 01:29:03 PM UTC, comment #3: Indeed. Moving the cursor from line 2 to 3 triggers miscolouring of line 3, and moving the cursor from line 4 to 3 restores proper colouring. Also typing anything extra into line 2 triggers the miscolouring of line 3 -- but then moving the cursor to line 3 restores proper colouring. Weird.
|
Benno Schulenberg <bens> |
Mon 17 Feb 2014 01:52:44 AM UTC, comment #2: I can still reproduce this on 2.2.6 and 2.3.2.
|
Dave Lemonby <dreamlax> |
Fri 14 Feb 2014 12:56:39 PM UTC, comment #1: Can you still reproduce this with current nanos (2.2.6, 2.3.2, or svn)? I cannot. |
Benno Schulenberg <bens> |
Wed 08 Apr 2009 01:40:07 AM UTC, original submission:
I've come across a strange bug where nano paints too far (in 2.1.9).
|
Dave Lemonby <dreamlax> |
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 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2014-06-13 | bens | Status | Ready For Test | Fixed | |
Open/Closed | Open | Closed | |||
2014-05-17 | bens | Status | Confirmed | Ready For Test | |
2014-02-21 | bens | Status | Need Info | Confirmed | |
Assigned to | None | bens | |||
Summary | Colour syntax highlighting is broken for multi-line highlighting that spans more than 1 line | Colour syntax highlighting is broken for multi-line C comments | |||
2014-02-14 | bens | Status | None | Need Info |
Powered by Savane 3.13-d3ae.
Corresponding source code
Considering this fixed.