Package | Description |
---|---|
org.eclipse.core.filebuffers.manipulation |
Provides the API for manipulating file buffers.
|
org.eclipse.jface.text |
Provides a framework for creating and manipulating text documents.
|
Modifier and Type | Method and Description |
---|---|
protected DocumentRewriteSessionType |
ConvertLineDelimitersOperation.getDocumentRewriteSessionType() |
protected DocumentRewriteSessionType |
RemoveTrailingWhitespaceOperation.getDocumentRewriteSessionType() |
protected abstract DocumentRewriteSessionType |
TextFileBufferOperation.getDocumentRewriteSessionType()
Returns the rewrite session type that corresponds to the text edit sequence.
|
Modifier and Type | Field and Description |
---|---|
static DocumentRewriteSessionType |
DocumentRewriteSessionType.SEQUENTIAL
A sequential rewrite session is a sequence of non-overlapping replace
operations starting at an arbitrary document offset.
|
static DocumentRewriteSessionType |
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.
|
static DocumentRewriteSessionType |
DocumentRewriteSessionType.UNRESTRICTED
An unrestricted rewrite session is a sequence of unrestricted replace operations.
|
static DocumentRewriteSessionType |
DocumentRewriteSessionType.UNRESTRICTED_SMALL
An small unrestricted rewrite session is a short sequence of unrestricted replace operations.
|
Modifier and Type | Method and Description |
---|---|
DocumentRewriteSessionType |
DocumentRewriteSession.getSessionType()
Returns the type of this session.
|
Modifier and Type | Method and Description |
---|---|
DocumentRewriteSession |
AbstractDocument.startRewriteSession(DocumentRewriteSessionType sessionType) |
DocumentRewriteSession |
IDocumentExtension4.startRewriteSession(DocumentRewriteSessionType sessionType)
Tells the document that it is about to be rewritten.
|
Constructor and Description |
---|
DocumentRewriteSession(DocumentRewriteSessionType sessionType)
Prohibit package external object creation.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.