Package org.eclipse.jface.text
Class DocumentRewriteSessionType
java.lang.Object
org.eclipse.jface.text.DocumentRewriteSessionType
A document rewrite session type.
Allowed values are:
UNRESTRICTED
UNRESTRICTED_SMALL
(since 3.3)SEQUENTIAL
STRICTLY_SEQUENTIAL
- Since:
- 3.1
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DocumentRewriteSessionType
A sequential rewrite session is a sequence of non-overlapping replace operations starting at an arbitrary document offset.static final DocumentRewriteSessionType
A strictly sequential rewrite session is a sequence of non-overlapping replace operations from the start of the document to its end.static final DocumentRewriteSessionType
An unrestricted rewrite session is a sequence of unrestricted replace operations.static final DocumentRewriteSessionType
An small unrestricted rewrite session is a short sequence of unrestricted replace operations. -
Method Summary
-
Field Details
-
UNRESTRICTED
An unrestricted rewrite session is a sequence of unrestricted replace operations. This session type should only be used for large operations that touch more than about fifty lines. UseUNRESTRICTED_SMALL
for small operations. -
UNRESTRICTED_SMALL
An small unrestricted rewrite session is a short sequence of unrestricted replace operations. This should be used for changes that touch less than about fifty lines.- Since:
- 3.3
-
SEQUENTIAL
A sequential rewrite session is a sequence of non-overlapping replace operations starting at an arbitrary document offset. -
STRICTLY_SEQUENTIAL
A strictly sequential rewrite session is a sequence of non-overlapping replace operations from the start of the document to its end.
-