From 80abe6e55f1925c4be355d827351b2c0d8afc3c1 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 22 Sep 2000 11:19:36 +0000 Subject: An hasFocus flag was added to separate logical focus from environment determined focus. hasFocus determines whether the caret is displayed. --- src/Editor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Editor.h') 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); -- cgit v1.2.3