Bug 340363 - JJ: Line number in not properly updated
Summary: JJ: Line number in not properly updated
Status: RESOLVED FIXED
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-26 10:58 UTC by Dominik Haumann
Modified: 2015-10-08 13:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Haumann 2014-10-26 10:58:39 UTC
Since a few weeks, Kate in KF5 gained the option to set a different "Current Line Number" color (in the "Colors" tab, section "Icon Border").

This line number is not repainted correctly when the "Current Line Number" color is different than the "Line Numbers" color. Somewhere, an update() call is missing that tells the icon border to repaint some parts it.
Comment 1 Miquel Sabaté 2014-11-24 11:12:03 UTC
Hi Dominik,

Sorry for not looking to this bug report earlier :) Could you please tell me the exact steps to reproduce this ? The case you are describing works for me.
Comment 2 Dominik Haumann 2014-11-24 18:11:28 UTC
You have to disable showing relative line numbers, then you'll run into this immediately :-)
Comment 3 Miquel Sabaté 2014-11-24 18:14:04 UTC
Ahh, ok, I can reproduce this now. I'll fix this as soon as possible.
Comment 4 Christoph Cullmann 2015-10-08 13:10:35 UTC
Git commit 6743b4fcb3bb5fa7d3b59ea70429c729058a9d75 by Christoph Cullmann.
Committed on 08/10/2015 at 13:10.
Pushed by cullmann into branch 'master'.

fix update of current line number color

M  +4    -2    src/view/kateviewhelpers.cpp
M  +1    -1    src/view/kateviewhelpers.h
M  +2    -2    src/view/kateviewinternal.cpp

http://commits.kde.org/ktexteditor/6743b4fcb3bb5fa7d3b59ea70429c729058a9d75