diff options
author | Neil <nyamatongwe@gmail.com> | 2021-05-05 09:34:24 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-05-05 09:34:24 +1000 |
commit | 9b8ce7d9a3b7cbfe1a56fdb422f9e91b8f3ece14 (patch) | |
tree | 70423c5e4422778e708df92d92021de7a76d002a /src/EditModel.cxx | |
parent | aecda22f08cfe2c137c7f6fb8d8669e91426f4b2 (diff) | |
download | scintilla-mirror-9b8ce7d9a3b7cbfe1a56fdb422f9e91b8f3ece14.tar.gz |
Redraw when focus changes. Move hasFocus to EditModel where it can be used for
drawing more easily.
Diffstat (limited to 'src/EditModel.cxx')
-rw-r--r-- | src/EditModel.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/EditModel.cxx b/src/EditModel.cxx index d84ad7e21..35a2bc549 100644 --- a/src/EditModel.cxx +++ b/src/EditModel.cxx @@ -66,6 +66,7 @@ EditModel::EditModel() : braces{} { braces[1] = Sci::invalidPosition; bracesMatchStyle = STYLE_BRACEBAD; highlightGuideColumn = 0; + hasFocus = false; primarySelection = true; imeInteraction = IMEInteraction::windowed; bidirectional = Bidirectional::bidiDisabled; |