Prototype for Document.Selection objects.
You cannot create a Document.Selection object directly. You create derived objects such as TextDocument.Selection, FolderDocument.Selection...
none.
none.
ECMerge 2.1
Document.Selection objects define a subset of a Document which is appropriate for particular actions. Selections can be defined arbitrarily, several can co-exist at a time, though only one can be active at a time in a View object.
none.
Tells whether current selection is empty or not:
alert ("Current selection is " + (current_frame.coordinator.current_view.clone_selection().is_empty() ? "" : "not") + " empty");
TextDocument.Selection object, FolderDocument.Selection object
function empty ( )
none.
Document.Selection
ECMerge 2.1
Empties the selection, deselecting any previously selected item inside it.
function is_empty ( )
returns a Boolean
none.
none.
ECMerge 2.1
Returns true if the selection is currently empty, i.e., if it contains no element.