Class DocumentRewriteSessionType

java.lang.Object
org.eclipse.jface.text.DocumentRewriteSessionType

public class DocumentRewriteSessionType extends Object
A document rewrite session type.

Allowed values are:

Since:
3.1
See Also:
  • Field Details

    • UNRESTRICTED

      public static final DocumentRewriteSessionType 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. Use UNRESTRICTED_SMALL for small operations.
    • UNRESTRICTED_SMALL

      public static final DocumentRewriteSessionType 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

      public static final DocumentRewriteSessionType SEQUENTIAL
      A sequential rewrite session is a sequence of non-overlapping replace operations starting at an arbitrary document offset.
    • STRICTLY_SEQUENTIAL

      public static final DocumentRewriteSessionType STRICTLY_SEQUENTIAL
      A strictly sequential rewrite session is a sequence of non-overlapping replace operations from the start of the document to its end.