W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2011

[whatwg] [editing] Caret Position Access Methods

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 29 Jul 2011 16:28:15 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1107291627420.18680@ps20323.dreamhostps.com>
On Fri, 29 Jul 2011, Dan Gisolfi wrote:
>
> On behalf of the Open Cooperative Web Framework Project ( 
> http://opencoweb.org), with respect to the HTML Editing APIs 
> specification (http://aryeh.name/spec/editing/editing.html), it would 
> seem the current version of the spec lacks APIs for getting / setting 
> the caret position.
> 
> An example scenario for such a requirement (addition of such methods) 
> would be the following: When developing an cooperative web enabled 
> rich-text-editor, whereby multiple simultaneous users can co-author 
> shared content, the editor must be able to allow each participant to 
> get/set caret/cursor position in order to reflect the multiple positions 
> of each active author in a cooperative web session.

Surely all but the local one would not be real carets?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 29 July 2011 09:28:15 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:35 UTC