Open Bug 740892 Opened 10 years ago Updated 8 years ago
Add a method that returns selection including selection for caret
As per Alex: "please file a bug to add a method that returns selection including selection for caret. Iirc GetSelectionBounds removes selection range for caret so you do extra work by calling the GetCaretOffset to get selection for caret. But also GetCaretOffset itself is not performant for you because it traverse the tree to check the focus to return -1 when no focus in the tree." Details: https://bugzilla.mozilla.org/show_bug.cgi?id=718627#c76
You need to log in before you can comment on or make changes to this bug.