diff options
author | Neil <nyamatongwe@gmail.com> | 2018-06-02 08:37:47 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-06-02 08:37:47 +1000 |
commit | 2e003602f29edff5d38137472edee82fab9f5376 (patch) | |
tree | efcd2d4466c2bb894d5354d0652e986fdfcbea22 /qt/ScintillaEditBase/PlatQt.h | |
parent | e67783d907b0ae186d794b205cf89c645fe50270 (diff) | |
download | scintilla-mirror-2e003602f29edff5d38137472edee82fab9f5376.tar.gz |
Define IScreenLineLayout as the main interface for implementing bidirectional
features by platform code.
Implement IScreenLineLayout for Win32 / DirectWrite as ScreenLineLayout.
Diffstat (limited to 'qt/ScintillaEditBase/PlatQt.h')
-rw-r--r-- | qt/ScintillaEditBase/PlatQt.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qt/ScintillaEditBase/PlatQt.h b/qt/ScintillaEditBase/PlatQt.h index 1b83035a1..7c2ed2fa4 100644 --- a/qt/ScintillaEditBase/PlatQt.h +++ b/qt/ScintillaEditBase/PlatQt.h @@ -105,9 +105,7 @@ public: ColourDesired back) override; void Copy(PRectangle rc, 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; + std::unique_ptr<IScreenLineLayout> Layout(const IScreenLine *screenLine) override; void DrawTextNoClip(PRectangle rc, Font &font, XYPOSITION ybase, std::string_view text, ColourDesired fore, ColourDesired back) override; |