Package | Description |
---|---|
org.eclipse.jface.text |
Provides a framework for creating and manipulating text documents.
|
org.eclipse.jface.text.source |
Provides a framework for connecting document regions
with annotations and for displaying those.
|
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.
|
class |
TabsToSpacesConverter
Auto edit strategy that converts tabs into spaces.
|
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.
|
void |
TextViewer.setTabsToSpacesConverter(IAutoEditStrategy converter) |
void |
ITextViewerExtension7.setTabsToSpacesConverter(IAutoEditStrategy converter)
Sets an auto edit strategy can converts tabs to spaces.
|
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.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.