Overview | Methods | This Package | All Packages
Marks the current selection as protected.
Syntax
public void setSelProtected( boolean protect )
Parameters
protect
Set to true to protect the current selection; otherwise, set to false.
Remarks
If the protect parameter is set to true, the protected event is fired when the user attempts to change the selection.
If no text is currently selected, the protection is is applied to the current insertion point, and to all text that the user types after the insertion point. The protection is in effect only until the insertion point changes.
See Also onProtected, getSelProtected