diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 7 | ||||
-rw-r--r-- | src/Editor.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 786d1bb95..28159fd57 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -5177,6 +5177,10 @@ void Editor::QueueIdleWork(WorkNeeded::workItems items, Sci::Position upTo) { workNeeded.Need(items, upTo); } +int Editor::SupportsFeature(int /* feature */) { + return 0; +} + bool Editor::PaintContains(PRectangle rc) { if (rc.Empty()) { return true; @@ -8150,6 +8154,9 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { case SCI_ALLOCATEEXTENDEDSTYLES: return vs.AllocateExtendedStyles(static_cast<int>(wParam)); + case SCI_SUPPORTSFEATURE: + return SupportsFeature(static_cast<int>(wParam)); + case SCI_ADDUNDOACTION: pdoc->AddUndoAction(static_cast<Sci::Position>(wParam), lParam & UNDO_MAY_COALESCE); break; diff --git a/src/Editor.h b/src/Editor.h index 60742b403..87a904bf1 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -537,6 +537,7 @@ protected: // ScintillaBase subclass needs access to much of Editor virtual void IdleWork(); virtual void QueueIdleWork(WorkNeeded::workItems items, Sci::Position upTo=0); + virtual int SupportsFeature(int feature); virtual bool PaintContains(PRectangle rc); bool PaintContainsMargin(); void CheckForChangeOutsidePaint(Range r); |