mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07: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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user