aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.h
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2012-08-24 18:56:54 +1000
committernyamatongwe <nyamatongwe@gmail.com>2012-08-24 18:56:54 +1000
commitc4ce4d309ac593373d533e9913b0a6a5f4400e0b (patch)
treed2167d2826706319fdc379029127905b4dfe3c15 /cocoa/ScintillaCocoa.h
parent48eb4e8d252086bfd55d3a16eb2bc8d374525299 (diff)
downloadscintilla-mirror-c4ce4d309ac593373d533e9913b0a6a5f4400e0b.tar.gz
Ensure abandoned paints cover full area by using NSView display instead of trying
to draw more within initial drawing context.
Diffstat (limited to 'cocoa/ScintillaCocoa.h')
-rw-r--r--cocoa/ScintillaCocoa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cocoa/ScintillaCocoa.h b/cocoa/ScintillaCocoa.h
index e4179b1bb..1a7852bce 100644
--- a/cocoa/ScintillaCocoa.h
+++ b/cocoa/ScintillaCocoa.h
@@ -143,8 +143,8 @@ public:
ScintillaView* TopContainer();
- void SyncPaint(void* gc, PRectangle rc);
- void Draw(NSRect rect, CGContextRef gc);
+ bool SyncPaint(void* gc, PRectangle rc);
+ bool Draw(NSRect rect, CGContextRef gc);
virtual sptr_t DefWndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam);
void SetTicking(bool on);