[whatwg] [editing] Caret Position Access Methods
Dan Gisolfi
gisolfi at us.ibm.com
Fri Jul 29 09:38:35 PDT 2011
Ian Hickson <ian at hixie.ch> wrote on 07/29/2011 12:28:15 PM:
> From: Ian Hickson <ian at hixie.ch>
> To: Dan Gisolfi/Somers/IBM at IBMUS
> Cc: whatwg at lists.whatwg.org, ayg at aryeh.name
> Date: 07/29/2011 12:28 PM
> Subject: Re: [whatwg] [editing] Caret Position Access Methods
>
> 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. `._.-(,_..'--(,_..'`-.;.'
Not sure what you mean by "real caret", but the scenario implies that each
co-authoring conference(session) participant would have a corresponding
cursor (caret) position depicting their associated reference point for
edits.
More information about the whatwg
mailing list