D15518: Editor - Line highlighting color fix

Albert Astals Cid noreply at phabricator.kde.org
Fri Oct 5 22:15:12 BST 2018


aacid added inline comments.

INLINE COMMENTS

> editor.h:160
>  			QPainter painter(viewport());
> -			painter.fillRect(currentLineRect(), QBrush(LINE_HIGHLIGHT_COLOR));
> +			painter.fillRect(currentLineRect(), QBrush(getHighlightColor(LINE_HIGHLIGHT_COLOR))); //WAS - painter.fillRect(currentLineRect(), QBrush(LINE_HIGHLIGHT_COLOR));
>  			if (!currentWord.isNull())

Don't leave old code around commented, if someone ever needs to know what the code was, that's what git history is for.

REPOSITORY
  R337 KTurtle

REVISION DETAIL
  https://phabricator.kde.org/D15518

To: mvalentino, tcanabrava, #kde_edu
Cc: aacid, kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20181005/0f429121/attachment.html>


More information about the kde-edu mailing list