Closed Bug 1766547 Opened 2 years ago Closed 2 years ago

Support setting the caret in TextLeafPoint

Categories

(Core :: Disability Access APIs, task)

task

Tracking

()

RESOLVED DUPLICATE of bug 1811092

People

(Reporter: Jamie, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [ctw-m7])

In bug 1766546, we'll support HyperTextAccessible::SetCaretOffset for cached RemoteAccessibles. We should also support setting the caret via TextLeafPoint, as that will be needed for future implementations which don't use HyperTextAccessible. Initially, this will probably delegate to HyperTextAccessible. Eventually, we should move this logic into TextLeafPoint directly.

Whiteboard: [ctw-m2] → [ctw-m7]

This is now possible by setting a collapsed selection using TextLeafRange::SetSelection.

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1811092
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.