Package | Description |
---|---|
org.eclipse.jface.text |
Provides a framework for creating and manipulating text documents.
|
org.eclipse.jface.text.source |
Provides a support for managing annotations attached to a document.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IAutoIndentStrategy
Deprecated.
since 3.0, use
IAutoEditStrategy directly |
Modifier and Type | Class and Description |
---|---|
class |
DefaultAutoIndentStrategy
Deprecated.
since 3.1 use
DefaultIndentLineAutoEditStrategy instead |
class |
DefaultIndentLineAutoEditStrategy
This strategy always copies the indentation of the previous line.
|
Modifier and Type | Method and Description |
---|---|
void |
ITextViewerExtension2.prependAutoEditStrategy(IAutoEditStrategy strategy,
String contentType)
Prepends the given auto edit strategy to the existing list of strategies
for the specified content type.
|
void |
TextViewer.prependAutoEditStrategy(IAutoEditStrategy strategy,
String contentType) |
void |
ITextViewerExtension2.removeAutoEditStrategy(IAutoEditStrategy strategy,
String contentType)
Removes the first occurrence of the given auto edit strategy in the list of strategies
registered under the specified content type.
|
void |
TextViewer.removeAutoEditStrategy(IAutoEditStrategy strategy,
String contentType) |
protected void |
TextViewer.setAutoEditStrategies(IAutoEditStrategy[] strategies,
String contentType)
Sets the given edit strategy as the only strategy for the given content type.
|
Modifier and Type | Method and Description |
---|---|
IAutoEditStrategy[] |
SourceViewerConfiguration.getAutoEditStrategies(ISourceViewer sourceViewer,
String contentType)
Returns the auto edit strategies ready to be used with the given source viewer
when manipulating text of the given content type.
|
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.