diff options
author | Neil <nyamatongwe@gmail.com> | 2023-11-06 08:05:42 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2023-11-06 08:05:42 +1100 |
commit | c32f6adbe3ba88dc14839280213578c7656d2e38 (patch) | |
tree | 52275a43d74d7650d19ec7376569c7d09648fe2d /src/Editor.h | |
parent | 1272f93ac3afd3892d04364fdc5abba56161951d (diff) | |
download | scintilla-mirror-c32f6adbe3ba88dc14839280213578c7656d2e38.tar.gz |
Mouse capture and automatic scrolling are always started and stopped together so
encapsulate that in ChangeMouseCapture method.
Does not change behaviour.
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h index 923e3b7a3..b1b426dff 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -548,6 +548,7 @@ protected: // ScintillaBase subclass needs access to much of Editor virtual void FineTickerStart(TickReason reason, int millis, int tolerance); virtual void FineTickerCancel(TickReason reason); virtual bool SetIdle(bool) { return false; } + void ChangeMouseCapture(bool on); virtual void SetMouseCapture(bool on) = 0; virtual bool HaveMouseCapture() = 0; void SetFocusState(bool focusState); |