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 | 9e597a58638b3f76559bf0222fa57993e01b92fd (patch) | |
| tree | d30c52979d001201681babf708cd8f700a3c9ac1 /cocoa/ScintillaCocoa.mm | |
| parent | 5bfc97a368eb7c8d3c78b0c454be806d6dcb6340 (diff) | |
| download | scintilla-mirror-9e597a58638b3f76559bf0222fa57993e01b92fd.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) |
