diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2014-07-08 18:28:21 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2014-07-08 18:28:21 +1000 |
commit | 968e9cf565b620b1e486da1e9bcde9a34c3f7abc (patch) | |
tree | ed48c0bf4ac14a46ceadcfcb05faaa8cd259e08e /cocoa/ScintillaCocoa.mm | |
parent | e53ed747c8090fa4c4853388f0ef4836c9bd8c8d (diff) | |
download | scintilla-mirror-968e9cf565b620b1e486da1e9bcde9a34c3f7abc.tar.gz |
Made recent refactor work on Cocoa.
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 10992ba86..027bdffbf 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -825,7 +825,7 @@ sptr_t ScintillaCocoa::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lPar case SCI_SETBUFFEREDDRAW: // Buffered drawing not supported on Cocoa - bufferedDraw = false; + view.bufferedDraw = false; break; case SCI_FINDINDICATORSHOW: @@ -1260,8 +1260,8 @@ void ScintillaCocoa::StartDrag() SurfaceImpl *sw = new SurfaceImpl(); SurfaceImpl *pixmap = NULL; - bool lastHideSelection = hideSelection; - hideSelection = true; + bool lastHideSelection = view.hideSelection; + view.hideSelection = true; if (sw) { pixmap = new SurfaceImpl(); @@ -1296,7 +1296,7 @@ void ScintillaCocoa::StartDrag() sw->Release(); delete sw; } - hideSelection = lastHideSelection; + view.hideSelection = lastHideSelection; NSBitmapImageRep* bitmap = NULL; if (pixmap) |