Eclipse Platform

Package org.eclipse.jface.text.formatter

Provides a text formatter add-on for an ITextViewer.


Interface Summary
IContentFormatter The interface of a document content formatter.
IFormattingStrategy An formatting strategy is assumed to be specialized on formatting text of a particular content type.

Class Summary
ContentFormatter Standard implementation of IContentFormatter.

Package org.eclipse.jface.text.formatter Description

Provides a text formatter add-on for an ITextViewer. A text formatter changes the formatting of  document region while preserving and correctly updating the positions of the document.

Package Specification

IContentFormatter defines the concept of a text formatter. It collaborates with content type specific formatting stratgies (IFormattingStrategy) which for a given document region format the subregion with the matching content type. The package contains a default implementation of IContentFormatter (ContentFormatter).

Eclipse Platform

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.