Re: [whatwg] [editing] Caret Position Access Methods

2011-08-10 Thread Ehsan Akhgari
On 11-07-29 2:14 PM, Ryosuke Niwa wrote: On Fri, Jul 29, 2011 at 11:07 AM, Dan Gisolfi wrote: My point herein and motivation for the suggestion is that this functionality (get/set caret) is available in the textarea element. Using a textarea element you can get/set caret position via get/setSe

Re: [whatwg] [editing] Caret Position Access Methods

2011-07-29 Thread Aryeh Gregor
On Fri, Jul 29, 2011 at 11:13 AM, 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 f

Re: [whatwg] [editing] Caret Position Access Methods

2011-07-29 Thread Ryosuke Niwa
On Fri, Jul 29, 2011 at 11:07 AM, Dan Gisolfi wrote: > > My point herein and motivation for the suggestion is that this > functionality (get/set caret) is available in the textarea element. Using > a textarea element you can get/set caret position via > get/setSelectionRange(). These two methods s

Re: [whatwg] [editing] Caret Position Access Methods

2011-07-29 Thread Dan Gisolfi
Ian Hickson wrote on 07/29/2011 12:47:08 PM: > From: Ian Hickson > To: Dan Gisolfi/Somers/IBM@IBMUS > Cc: whatwg@lists.whatwg.org, a...@aryeh.name > Date: 07/29/2011 12:47 PM > Subject: Re: [whatwg] [editing] Caret Position Access Methods > > On Fri, 29 Jul 2011, Dan G

Re: [whatwg] [editing] Caret Position Access Methods

2011-07-29 Thread Ian Hickson
On Fri, 29 Jul 2011, Dan Gisolfi wrote: > Ian Hickson wrote on 07/29/2011 12:28:15 PM: > > > > > > 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

Re: [whatwg] [editing] Caret Position Access Methods

2011-07-29 Thread Dan Gisolfi
Ian Hickson wrote on 07/29/2011 12:28:15 PM: > From: Ian Hickson > To: Dan Gisolfi/Somers/IBM@IBMUS > Cc: whatwg@lists.whatwg.org, a...@aryeh.name > Date: 07/29/2011 12:28 PM > Subject: Re: [whatwg] [editing] Caret Position Access Methods > > On Fri, 29 Jul 2011, Dan Giso

Re: [whatwg] [editing] Caret Position Access Methods

2011-07-29 Thread Ian Hickson
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 getti

[whatwg] [editing] Caret Position Access Methods

2011-07-29 Thread Dan Gisolfi
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 scenar