mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Update a11y word forward/back enum names (#8073)
This updates the FlutterSemanticsAction enumerator identifiers for the 'move cursor forward/back one word' actions (added in flutter/engine#8033) for consistency with the 'move cusor forward/back on character' identifiers. ABI compatibility is unaffected, but this with require the following change in any embedder making use of these fields: Rename: kFlutterSemanticsActionMoveCursorForwardByWordIndex to: kFlutterSemanticsActionMoveCursorForwardByWord Rename: kFlutterSemanticsActionMoveCursorBackwardByWordIndex to: kFlutterSemanticsActionMoveCursorBackwardByWord
This commit is contained in:
parent
b5f59ed89d
commit
a48cd16e07
@ -98,9 +98,9 @@ typedef enum {
|
||||
// A request that the node should be dismissed.
|
||||
kFlutterSemanticsActionDismiss = 1 << 18,
|
||||
// Move the cursor forward by one word.
|
||||
kFlutterSemanticsActionMoveCursorForwardByWordIndex = 1 << 19,
|
||||
kFlutterSemanticsActionMoveCursorForwardByWord = 1 << 19,
|
||||
// Move the cursor backward by one word.
|
||||
kFlutterSemanticsActionMoveCursorBackwardByWordIndex = 1 << 20,
|
||||
kFlutterSemanticsActionMoveCursorBackwardByWord = 1 << 20,
|
||||
} FlutterSemanticsAction;
|
||||
|
||||
// The set of properties that may be associated with a semantics node.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user