## Uses of Interface
org.eclipse.jface.text.formatter.IFormattingContext

Packages that use IFormattingContext
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.

### Uses of IFormattingContext in org.eclipse.jface.text.formatter

Classes in org.eclipse.jface.text.formatter that implement IFormattingContext
`class` `FormattingContext` Default implementation of `IFormattingContext`.

Methods in org.eclipse.jface.text.formatter with parameters of type IFormattingContext
`void` IContentFormatterExtension.`format​(IDocument document, IFormattingContext context)` Formats the given region of the specified document.
`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 IFormattingContext
`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.