aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-03-07 22:20:45 +1100
committerNeil <nyamatongwe@gmail.com>2017-03-07 22:20:45 +1100
commitf60ab1f9516f12b5fccd81f2376f2aef42d83152 (patch)
tree3251922fba5b0c1281146f7a250fbb0fe5662eaa /src/Editor.cxx
parent25acad3cbc9b56dd0f006e32c94d56824f1669db (diff)
downloadscintilla-mirror-f60ab1f9516f12b5fccd81f2376f2aef42d83152.tar.gz
Bug [#1910]. Accessibility support may be queried and, on GTK+, disabled.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index e5fbc69be..35bbc10fe 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -7554,6 +7554,13 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
std::vector<EdgeProperties>().swap(vs.theMultiEdge); // Free vector and memory, C++03 compatible
InvalidateStyleRedraw();
break;
+
+ case SCI_GETACCESSIBILITY:
+ return SC_ACCESSIBILITY_DISABLED;
+
+ case SCI_SETACCESSIBILITY:
+ // May be implemented by platform code.
+ break;
case SCI_GETDOCPOINTER:
return reinterpret_cast<sptr_t>(pdoc);