aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.h
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2023-02-27 17:54:43 +1100
committerNeil Hodgson <nyamatongwe@gmail.com>2023-02-27 17:54:43 +1100
commit0af575240f85b65e2a80eac8baddc38cd45eaf31 (patch)
tree6d5d9977955e1ce71126805182d37544d25f58fa /cocoa/ScintillaCocoa.h
parentf7866f75ffb28e3831358adfd4bb20a4c6633467 (diff)
downloadscintilla-mirror-0af575240f85b65e2a80eac8baddc38cd45eaf31.tar.gz
Cache client rectangle when view moved or sized. That allows access to it from
secondary threads which otherwise shows warnings.
Diffstat (limited to 'cocoa/ScintillaCocoa.h')
-rw-r--r--cocoa/ScintillaCocoa.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cocoa/ScintillaCocoa.h b/cocoa/ScintillaCocoa.h
index 4c1f10a97..402eeff20 100644
--- a/cocoa/ScintillaCocoa.h
+++ b/cocoa/ScintillaCocoa.h
@@ -103,6 +103,8 @@ private:
bool isFirstResponder;
bool isActive;
+ PRectangle rectangleClient;
+
bool enteredSetScrollingSize;
bool GetPasteboardData(NSPasteboard *board, SelectionText *selectedText);