From f60ab1f9516f12b5fccd81f2376f2aef42d83152 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 7 Mar 2017 22:20:45 +1100 Subject: Bug [#1910]. Accessibility support may be queried and, on GTK+, disabled. --- doc/ScintillaDoc.html | 71 +++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 58 insertions(+), 13 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index a29bfe617..631b38eb8 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -367,16 +367,16 @@ ○ Long lines - ○ Lexer + ○ Accessibility - ○ Lexer objects + ○ Lexer - ○ Notifications + ○ Lexer objects - ○ Accessibility + ○ NotificationsImages @@ -6511,6 +6511,60 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){ of a space character in STYLE_DEFAULT. All the edges can be cleared with SCI_MULTIEDGECLEARALL.

+

Accessibility

+ +

Scintilla supports some platform accessibility features. + This support differs between platforms. + On GTK+ and Cocoa the platform accessibility APIs are implemented sufficiently to + make screen readers work. + On Win32, the system caret is manipulated to help screen readers. +

+ + SCI_SETACCESSIBILITY(int accessibility)
+ SCI_GETACCESSIBILITY → int
+
+ +

SCI_SETACCESSIBILITY(int accessibility)
+ SCI_GETACCESSIBILITY → int
+ These messages may enable or disable accessibility and report its current status.

+ +

On most platforms, accessibility is either implemented or not implemented and this can be + discovered with SCI_GETACCESSIBILITY with + SCI_SETACCESSIBILITY performing no action. + On GTK+, there are storage and performance costs to accessibility, so it can be disabled + by calling SCI_SETACCESSIBILITY. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SymbolValueAccessibility status
SC_ACCESSIBILITY_DISABLED0Accessibility is disabled.
SC_ACCESSIBILITY_ENABLED1Accessibility is enabled.
+

Lexer

If you define the symbol SCI_LEXER when building Scintilla, (this is sometimes @@ -7891,15 +7945,6 @@ for line = lineStart to lineEnd do SCI_ENSUREVISIBLE(line) next SCN_AUTOCSELECTION notification.

-

Accessibility

- -

Scintilla supports some platform accessibility features. - This support differs between platforms. - On GTK+ and Cocoa the platform accessibility APIs are implemented sufficiently to - make screen readers work. - On Win32, the system caret is manipulated to help screen readers. -

-

Images

Two formats are supported for images used in margin markers and autocompletion lists, RGBA and XPM.

-- cgit v1.2.3