diff options
| author | Neil <nyamatongwe@gmail.com> | 2018-05-23 15:41:59 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2018-05-23 15:41:59 +1000 |
| commit | 7ee2a70c18f899a4845621622241adc578b0400c (patch) | |
| tree | 2f4f7b7a5869523ec8baae1751e39c0f1f7851b3 /cocoa/PlatCocoa.mm | |
| parent | 05845e8e5d1d934a16550f33099be89d189bfcad (diff) | |
| download | scintilla-mirror-7ee2a70c18f899a4845621622241adc578b0400c.tar.gz | |
Add definitions for bidirectional support to Platform.h and provide empty
implementations for each platform.
Diffstat (limited to 'cocoa/PlatCocoa.mm')
| -rw-r--r-- | cocoa/PlatCocoa.mm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index 7d7eafb42..62a0ba5f0 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -819,6 +819,22 @@ void SurfaceImpl::Copy(PRectangle rc, Scintilla::Point from, Surface &surfaceSou //-------------------------------------------------------------------------------------------------- +// Bidirectional text support for Arabic and Hebrew not currently implemented on Cocoa. + +size_t SurfaceImpl::PositionFromX(const IScreenLine *, XYPOSITION, bool) { + return 0; +} + +XYPOSITION SurfaceImpl::XFromPosition(const IScreenLine *, size_t) { + return 0; +} + +std::vector<Interval> SurfaceImpl::FindRangeIntervals(const IScreenLine *, size_t, size_t) { + return std::vector<Interval>(); +} + +//-------------------------------------------------------------------------------------------------- + void SurfaceImpl::DrawTextNoClip(PRectangle rc, Font &font_, XYPOSITION ybase, std::string_view text, ColourDesired fore, ColourDesired back) { FillRectangle(rc, back); @@ -1034,6 +1050,9 @@ void SurfaceImpl::SetDBCSMode(int codePage_) { codePage = codePage_; } +void SurfaceImpl::SetBidiR2L(bool) { +} + Surface *Surface::Allocate(int) { return new SurfaceImpl(); } |
