aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-09-22 11:19:36 +0000
committernyamatongwe <devnull@localhost>2000-09-22 11:19:36 +0000
commit80abe6e55f1925c4be355d827351b2c0d8afc3c1 (patch)
tree02bf721d4bde545e627a6fac3e0e065fbba0a458 /src/Editor.h
parent2399b9f209b208a56dd844f31c911a4e049885f8 (diff)
downloadscintilla-mirror-80abe6e55f1925c4be355d827351b2c0d8afc3c1.tar.gz
An hasFocus flag was added to separate logical focus from environment
determined focus. hasFocus determines whether the caret is displayed.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 83967cfd6..38d7ad913 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -61,7 +61,8 @@ protected: // ScintillaBase subclass needs access to much of Editor
Palette palette;
int printMagnification;
int printColourMode;
-
+
+ bool hasFocus;
bool hideSelection;
bool inOverstrike;
@@ -285,6 +286,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
virtual void SetTicking(bool on) = 0;
virtual void SetMouseCapture(bool on) = 0;
virtual bool HaveMouseCapture() = 0;
+ void SetFocusState(bool focusState);
void CheckForChangeOutsidePaint(Range r);
int BraceMatch(int position, int maxReStyle);