Bug 409139

Summary: Right sided comments (comments appearing after some code) make the full line appear in gray
Product: [Applications] cantor Reporter: avlas <jsardid>
Component: generalAssignee: Cantor Bugs <cantor-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: filipe, warquark
Priority: NOR    
Version First Reported In: 19.04   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 19.04.3
Sentry Crash Report:

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!