I'm working on a definition of Selection.modify(), and have run into
the problem of how to define the various granularities used there.
(See https://developer.mozilla.org/en/DOM/selection/modify for basic
docs.) The intent of the API is clearly that, e.g.,
selection.modify(move, right, character)
On Sun, 30 Jan 2011, Aryeh Gregor wrote:
I'm working on a definition of Selection.modify(), and have run into the
problem of how to define the various granularities used there. (See
https://developer.mozilla.org/en/DOM/selection/modify for basic docs.)
The intent of the API is clearly
On Sun, Jan 30, 2011 at 6:18 PM, Ian Hickson i...@hixie.ch wrote:
On Sun, 30 Jan 2011, Aryeh Gregor wrote:
I'm working on a definition of Selection.modify(), and have run into the
problem of how to define the various granularities used there. (See
It seems to me like there's an additional complication: presumably
Selection.modify() acts on only the text that is visible to the user,
which lands you with the problem of first specifying what that text
is. This is similar to the problem presented by specifying the
toString() method of Selection