Re: [selection-api] Need to be able to tell if the caret is displayed at the beginning or the end of the line (#32)

That should work to find out where the caret is yes. So that's a good idea.

How about this part:

> This is important for being able to control the selection (beforeSelectionChange).

As I understand it, we should also be able to set the selection at the start or end of the line, right? This would also be useful for manual movement of caret in block direction.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/selection-api/issues/32#issuecomment-109017391

Received on Thursday, 4 June 2015 19:18:39 UTC