content/base/public/nsISelection3.idlScriptable
Please add a summary to this article.
1.0
66
Introduced
Gecko 2.0
Obsolete
Gecko 8.0
Inherits from: nsISupports Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)

In Gecko 8.0 this Interface was merged into the nsISelection interface.

Method overview

void modify(in DOMString alter, in DOMString direction, in DOMString granularity);

Methods

modify()

Modifies the selection. Note that the parameters are case-insensitive.

void modify(
  in DOMString alter,
  in DOMString direction,
  in DOMString granularity
);
Parameters
alter
Can be one of { "move", "extend" }
direction
Can be one of { "forward", "backward", "left", "right" }
granularity
Can be one of { "character", "word", "line", "lineboundary" }

See also