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.h | |
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.h')
-rw-r--r-- | cocoa/PlatCocoa.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h index 940de83d5..bc80e9fce 100644 --- a/cocoa/PlatCocoa.h +++ b/cocoa/PlatCocoa.h @@ -98,6 +98,9 @@ public: void DrawRGBAImage(PRectangle rc, int width, int height, const unsigned char *pixelsImage) override; void Ellipse(PRectangle rc, ColourDesired fore, ColourDesired back) override; void Copy(PRectangle rc, Scintilla::Point from, Surface &surfaceSource) override; + size_t PositionFromX(const IScreenLine *screenLine, XYPOSITION xDistance, bool charPosition) override; + XYPOSITION XFromPosition(const IScreenLine *screenLine, size_t caretPosition) override; + std::vector<Interval> FindRangeIntervals(const IScreenLine *screenLine, size_t start, size_t end) override; void DrawTextNoClip(PRectangle rc, Font &font_, XYPOSITION ybase, std::string_view text, ColourDesired fore, ColourDesired back) override; void DrawTextClipped(PRectangle rc, Font &font_, XYPOSITION ybase, std::string_view text, ColourDesired fore, @@ -116,6 +119,7 @@ public: void SetUnicodeMode(bool unicodeMode_) override; void SetDBCSMode(int codePage_) override; + void SetBidiR2L(bool bidiR2L_) override; }; // SurfaceImpl class } // Scintilla namespace |