aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/PlatCocoa.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-04-22 20:24:24 +1000
committerNeil <nyamatongwe@gmail.com>2017-04-22 20:24:24 +1000
commit1eeadce64ec9d786c1da10e98f188a3221b7373b (patch)
tree660f0b845a8c0b745cc1f021cc4291bb14c30f44 /cocoa/PlatCocoa.h
parentce8991b3f3b156ada52871052cc856201e1474de (diff)
downloadscintilla-mirror-1eeadce64ec9d786c1da10e98f188a3221b7373b.tar.gz
Restrict cursor changing to visible bounds so the text area cursor doesn't show
over other views above and below ScintillaView.
Diffstat (limited to 'cocoa/PlatCocoa.h')
-rw-r--r--cocoa/PlatCocoa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h
index caac1d9fb..5d0789407 100644
--- a/cocoa/PlatCocoa.h
+++ b/cocoa/PlatCocoa.h
@@ -21,7 +21,7 @@
#include "QuartzTextLayout.h"
-NSRect PRectangleToNSRect(Scintilla::PRectangle& rc);
+NSRect PRectangleToNSRect(const Scintilla::PRectangle& rc);
Scintilla::PRectangle NSRectToPRectangle(NSRect& rc);
CFStringEncoding EncodingFromCharacterSet(bool unicode, int characterSet);