diff options
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) { |