diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-19 14:12:20 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-19 14:12:20 +1100 |
commit | 6b444111ecfe47a3f94293c3959cf197e3415735 (patch) | |
tree | bf90b6915dcb2f45f22d3e2377a4252ec80c9259 /src/Editor.cxx | |
parent | 9659ea34246320bd9872740d1ee6a5c9ae9066c6 (diff) | |
download | scintilla-mirror-6b444111ecfe47a3f94293c3959cf197e3415735.tar.gz |
Add Platform::Supports for SupportsFeature API.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 2001eafaf..5877239f0 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -5190,8 +5190,9 @@ void Editor::QueueIdleWork(WorkItems items, Sci::Position upTo) { workNeeded.Need(items, upTo); } -int Editor::SupportsFeature(int /* feature */) { - return 0; +int Editor::SupportsFeature(int feature) { + AutoSurface surface(this); + return surface->Supports(feature); } bool Editor::PaintContains(PRectangle rc) { |