Bug 409139 - Right sided comments (comments appearing after some code) make the full line appear in gray
Summary: Right sided comments (comments appearing after some code) make the full line ...
Status: RESOLVED FIXED
Alias: None
Product: cantor
Classification: Applications
Component: general (show other bugs)
Version: 19.04
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Cantor Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-24 14:52 UTC by avlas
Modified: 2019-06-26 20:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 19.04.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description avlas 2019-06-24 14:52:49 UTC
When adding a comment after some code, the full line appears in gray as if all the line was a comment. Gray style should remain instead only for the comment, while the code on the left side remain highlighted as code.
Comment 1 Filipe Saraiva 2019-06-24 16:06:12 UTC
Which backend were you using?
Comment 2 avlas 2019-06-24 16:14:38 UTC
Python3 (Sorry, I thought it could be sth general)
Comment 3 Nikita Sirgienko 2019-06-26 19:21:40 UTC
Git commit c26b559c33ed99e311059d525f987b61a8d5a237 by Nikita Sirgienko.
Committed on 26/06/2019 at 19:21.
Pushed by sirgienko into branch 'Applications/19.04'.

[Python] Fix highlighting bug
FIXED-IN: 19.04.3

M  +1    -1    src/backends/python/pythonhighlighter.cpp

https://commits.kde.org/cantor/c26b559c33ed99e311059d525f987b61a8d5a237
Comment 4 avlas 2019-06-26 20:02:17 UTC
(In reply to Nikita Sirgienko from comment #3)
> Git commit c26b559c33ed99e311059d525f987b61a8d5a237 by Nikita Sirgienko.
> Committed on 26/06/2019 at 19:21.
> Pushed by sirgienko into branch 'Applications/19.04'.
> 
> [Python] Fix highlighting bug
> FIXED-IN: 19.04.3
> 
> M  +1    -1    src/backends/python/pythonhighlighter.cpp
> 
> https://commits.kde.org/cantor/c26b559c33ed99e311059d525f987b61a8d5a237

Thanks!