- From: Ryosuke Niwa <notifications@github.com>
- Date: Fri, 05 Jun 2015 01:26:10 -0700
- To: w3c/selection-api <selection-api@noreply.github.com>
Received on Friday, 5 June 2015 08:26:45 UTC
For that, we probably need to add a new event with a sequence of `Range` objects and a boolean indicating the caret is before or after the line wrap if the range is collapsed (i.e. selection is caret), and probably add a new method on `Selection` like `setCaretPosition(Node node, unsigned long offset, bool beforeLineWrap)` that specifies whether the caret should appear before the line wrap or not if the specified DOM position happens to be at a line wrap. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/selection-api/issues/32#issuecomment-109202450
Received on Friday, 5 June 2015 08:26:45 UTC