Extension interface for
org.eclipse.jface.text.ITextViewer . Defines
a conceptual replacement of the original visible region concept. This interface
replaces
org.eclipse.jface.text.ITextViewerExtension3 .
Introduces the explicit concept of model and widget coordinates. For example,
a selection returned by the text viewer's control is a widget selection. A
widget selection always maps to a certain range of the viewer's document.
This range is considered the model selection.
All model ranges that have a corresponding widget ranges are considered
"exposed model ranges". The viewer can be requested to expose a given model
range. Thus, a visible region is a particular degeneration of exposed model
ranges.
This interface allows implementers to follow a sophisticated presentation
model in which the visible presentation is a complex projection of the
viewer's input document.
since: 3.0 |