Package | Description |
---|---|
org.eclipse.jface.text.formatter |
Provides a content formatter add-on for an ITextViewer.
|
org.eclipse.jface.text.source |
Provides a framework for connecting document regions
with annotations and for displaying those.
|
Modifier and Type | Class and Description |
---|---|
class |
FormattingContext
Default implementation of
IFormattingContext . |
Modifier and Type | Method and Description |
---|---|
void |
MultiPassContentFormatter.format(IDocument medium,
IFormattingContext context) |
void |
IContentFormatterExtension.format(IDocument document,
IFormattingContext context)
Formats the given region of the specified document.
|
protected void |
MultiPassContentFormatter.formatMaster(IFormattingContext context,
IDocument document,
int offset,
int length)
Formats the document specified in the formatting context with the master
formatting strategy.
|
protected void |
MultiPassContentFormatter.formatSlave(IFormattingContext context,
IDocument document,
int offset,
int length,
String type)
Formats the document specified in the formatting context with the
formatting strategy registered for the content type.
|
protected void |
MultiPassContentFormatter.formatSlaves(IFormattingContext context,
IDocument document,
int offset,
int length)
Formats the document specified in the formatting context with the slave
formatting strategies.
|
void |
ContextBasedFormattingStrategy.formatterStarts(IFormattingContext context) |
void |
IFormattingStrategyExtension.formatterStarts(IFormattingContext context)
Informs the strategy about the start of a formatting process in which it will participate.
|
Modifier and Type | Method and Description |
---|---|
protected IFormattingContext |
SourceViewer.createFormattingContext()
Creates a new formatting context for a format operation.
|
protected IFormattingContext |
SourceViewer.createFormattingContext(int selectionOffset,
int selectionLength)
Creates a new formatting context for a format operation.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.