Eclipse Platform
Luna (4.4)

Package org.eclipse.text.edits

Provides support for describing and applying textual document editions.

See: Description

Package org.eclipse.text.edits Description

Provides support for describing and applying textual document editions.

A complex textual edition can be described by a tree of TextEdits. An edit can be applied to an IDocument by calling TextEdit.apply or by using a TextEditProcessor. Applying a text edit can record a reverse edit description that can be used to undo the edition.

Use the standard edit kinds to describe the basic document editing operations:

Other subclasses of TextEdit exist for specialized tasks. Use MultiTextEdit to compose a complex edit tree, or subclass it to provide a custom edit.

Eclipse Platform
Luna (4.4)


Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.