Editor.Selection

The selection object provides a way to talk to Xopus's selection, range and cursor.

The selection can also be found using scope.get("xmlSelection") when used in commands.


Editor.Selection object

methods

Editor.Selection.getRange() : XopusRange
Editor.Selection.setRange( range : XopusRange)
Editor.Selection.unselect()