| java.lang.Object edu.rice.cs.util.text.DocumentEditCondition
DocumentEditCondition | public class DocumentEditCondition (Code) | | Class to decide whether a given edit can be applied to the document. Subclasses can impose conditions on
which edits will be applied.
version: $Id: DocumentEditCondition.java 4255 2007-08-28 19:17:37Z mgricken $ |
Method Summary | |
public boolean | canInsertText(int offs) Returns whether to actually insert, given these inputs. | public boolean | canRemoveText(int offs) Returns whether to actually remove, given these inputs. |
canInsertText | public boolean canInsertText(int offs)(Code) | | Returns whether to actually insert, given these inputs.
Parameters: offs - Offset into the document |
canRemoveText | public boolean canRemoveText(int offs)(Code) | | Returns whether to actually remove, given these inputs.
Parameters: offs - Offset to start deleting from |
|
|