diff options
author | Neil <nyamatongwe@gmail.com> | 2018-06-02 08:51:29 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-06-02 08:51:29 +1000 |
commit | 7d489f57b1b54fe5e895798bc29e7050e992b71c (patch) | |
tree | 646413bd48c0bdf575ea8922ef6fd648aa2d614c /cocoa/ScintillaCocoa.mm | |
parent | 2e003602f29edff5d38137472edee82fab9f5376 (diff) | |
download | scintilla-mirror-7d489f57b1b54fe5e895798bc29e7050e992b71c.tar.gz |
Implement IScreenLineLayout for Cocoa Core Text as ScreenLineLayout.
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 86c090f9d..0354c2df8 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -842,6 +842,13 @@ sptr_t ScintillaCocoa::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lPar case SCI_GETDIRECTPOINTER: return reinterpret_cast<sptr_t>(this); + case SCI_SETBIDIRECTIONAL: + bidirectional = static_cast<EditModel::Bidirectional>(wParam); + // Invalidate all cached information including layout. + DropGraphics(true); + InvalidateStyleRedraw(); + return 0; + case SCI_TARGETASUTF8: return TargetAsUTF8(CharPtrFromSPtr(lParam)); |