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 abstract DocumentRewriteSessionType |
TextFileBufferOperation.getDocumentRewriteSessionType()
Returns the rewrite session type that corresponds to the text edit sequence.
|
protected DocumentRewriteSessionType |
RemoveTrailingWhitespaceOperation.getDocumentRewriteSessionType() |
protected DocumentRewriteSessionType |
ConvertLineDelimitersOperation.getDocumentRewriteSessionType() |
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
A unrestricted rewrite session is a 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 |
IDocumentExtension4.startRewriteSession(DocumentRewriteSessionType sessionType)
Tells the document that it is about to be rewritten.
|
DocumentRewriteSession |
AbstractDocument.startRewriteSession(DocumentRewriteSessionType sessionType) |
Constructor and Description |
---|
DocumentRewriteSession(DocumentRewriteSessionType sessionType)
Prohibit package external object creation.
|
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.