Mercurial > hg > octave-nkf
changeset 19373:e85203f41402 gui-release
set cursor color of the editor to color of default text (bug #43314)
* file-editor-tab.cc (update_lexer): set color of cursor and of indentation
guide to the default styles color of the lexer
author | Torsten <ttl@justmail.de> |
---|---|
date | Sun, 28 Sep 2014 17:30:38 +0200 |
parents | a748865bfafb |
children | 4b6f87c6739f |
files | libgui/src/m-editor/file-editor-tab.cc |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.cc +++ b/libgui/src/m-editor/file-editor-tab.cc @@ -560,6 +560,8 @@ lexer->readSettings (*settings); _edit_area->setLexer (lexer); + _edit_area->setCaretForegroundColor (lexer->color (0)); + _edit_area->setIndentationGuidesForegroundColor (lexer->color (0)); // fix line number width with respect to the font size of the lexer if (settings->value ("editor/showLineNumbers", true).toBool ())