Uses of Interface
org.eclipse.jface.text.formatter.IFormattingContext
Packages that use IFormattingContext
Package
Description
Provides a content formatter add-on for an
ITextViewer
.Provides a framework for connecting document regions
with annotations and for displaying those.
-
Uses of IFormattingContext in org.eclipse.jface.text.formatter
Classes in org.eclipse.jface.text.formatter that implement IFormattingContextModifier and TypeClassDescriptionclass
Default implementation ofIFormattingContext
.Methods in org.eclipse.jface.text.formatter with parameters of type IFormattingContextModifier and TypeMethodDescriptionvoid
IContentFormatterExtension.format
(IDocument document, IFormattingContext context) Formats the given region of the specified document.final void
MultiPassContentFormatter.format
(IDocument medium, IFormattingContext context) 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. -
Uses of IFormattingContext in org.eclipse.jface.text.source
Methods in org.eclipse.jface.text.source that return IFormattingContextModifier and TypeMethodDescriptionprotected 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.