[Webkit-unassigned] [Bug 105189] Add function to move caret selection towards a point
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 19 14:06:00 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=105189
--- Comment #17 from Ryosuke Niwa <rniwa at webkit.org> 2012-12-19 14:08:14 PST ---
(In reply to comment #16)
> A caret is just a collapsed selection. So I would expect them to go through the same code paths.
Right. EventHandler handles both cases.
> On a desktop you move the caret with the arrow keys, but I doubt we have special handling for arrow keys + text fields, rather I suspect the arrow keys just move the selection and the selection controller causes the text area to scroll?
We don’t have a special case for arrow keys in textarea although we have a special code for editable regions (since that’s the only place where collapsed selection is rendered). FrameSelection::setSelection talks to RenderView to scroll relevant layers to "reveal" the selection.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list