Package | Description |
---|---|
org.eclipse.jface.text |
Provides a framework for creating and manipulating text documents.
|
org.eclipse.jface.text.source |
Provides a support for managing annotations attached to a document.
|
org.eclipse.ui.texteditor |
Provides a framework for text editors obeying to the
desktop rules.
|
Modifier and Type | Method and Description |
---|---|
protected StyledText |
TextViewer.createTextWidget(Composite parent,
int styles)
Factory method to create the text widget to be used as the viewer's text widget.
|
StyledText |
ITextViewer.getTextWidget()
Returns this viewer's SWT control,
null if the control is disposed. |
StyledText |
TextViewer.getTextWidget() |
Modifier and Type | Method and Description |
---|---|
static void |
TextPresentation.applyTextPresentation(TextPresentation presentation,
StyledText text)
Applies the given presentation to the given text widget.
|
Modifier and Type | Method and Description |
---|---|
void |
AnnotationPainter.IDrawingStrategy.draw(Annotation annotation,
GC gc,
StyledText textWidget,
int offset,
int length,
Color color)
Draws a decoration for an annotation onto the specified GC at the given text range.
|
void |
AnnotationPainter.SquigglesStrategy.draw(Annotation annotation,
GC gc,
StyledText textWidget,
int offset,
int length,
Color color) |
void |
AnnotationPainter.NullStrategy.draw(Annotation annotation,
GC gc,
StyledText textWidget,
int offset,
int length,
Color color) |
Modifier and Type | Method and Description |
---|---|
protected StyledText |
TextNavigationAction.getTextWidget()
Returns the text widget this actions is bound to.
|
Constructor and Description |
---|
AbstractTextEditor.LineStartAction(StyledText textWidget,
boolean doSelect)
Creates a new line start action.
|
TextNavigationAction(StyledText textWidget,
int action)
Creates a new
TextNavigationAction . |
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.