diff options
author | nyamatongwe <unknown> | 2001-04-10 06:51:05 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-04-10 06:51:05 +0000 |
commit | b8be1dcc36674f662c18f042203b625bfda39894 (patch) | |
tree | ea4e244db7d56cc5d2011001dc76630ead9fa8e6 /src | |
parent | c4a42c8794aa5cc2002a734b93732ee5eea2a835 (diff) | |
download | scintilla-mirror-b8be1dcc36674f662c18f042203b625bfda39894.tar.gz |
Turn off caret line when caret is turned off such as when don't have focus.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 185f15415..e6b1d69f3 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -881,7 +881,7 @@ void Editor::DrawLine(Surface *surface, ViewStyle &vsDraw, int line, int lineVis bool overrideBackground = false; Colour background = Colour(0, 0, 0); - if (vsDraw.showCaretLineBackground && ll.containsCaret) { + if (caret.active && vsDraw.showCaretLineBackground && ll.containsCaret) { overrideBackground = true; background = vsDraw.caretLineBackground.allocated; } |