|
Eclipse Platform Release 3.3 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use StyledText | |
---|---|
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.swt.custom | SWT Custom widgets. |
org.eclipse.ui.texteditor | Provides a framework for text editors obeying to the desktop rules. |
Uses of StyledText in org.eclipse.jface.text |
---|
Methods in org.eclipse.jface.text that return StyledText | |
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 |
TextViewer.getTextWidget()
|
StyledText |
ITextViewer.getTextWidget()
Returns this viewer's SWT control, null if the control is disposed.
|
Methods in org.eclipse.jface.text with parameters of type StyledText | |
static void |
TextPresentation.applyTextPresentation(TextPresentation presentation,
StyledText text)
Applies the given presentation to the given text widget. |
static int |
JFaceTextUtil.computeLineHeight(StyledText textWidget,
int startLine,
int endLine,
int lineCount)
Computes the line height for the given line range. |
static int |
JFaceTextUtil.getBottomIndex(StyledText widget)
Returns the last fully visible line of the widget. |
static int |
JFaceTextUtil.getPartialTopIndex(StyledText widget)
Returns the index of the first (possibly only partially) visible line of the widget |
static int |
JFaceTextUtil.getPartialBottomIndex(StyledText widget)
Returns the index of the last (possibly only partially) visible line of the widget |
static int |
JFaceTextUtil.getHiddenTopLinePixels(StyledText textWidget)
Returns the number of hidden pixels of the first partially visible line. |
static int |
JFaceTextUtil.getLinePixel(StyledText textWidget,
int line)
|
static int |
JFaceTextUtil.getLineIndex(StyledText textWidget,
int y)
|
static boolean |
JFaceTextUtil.isShowingEntireContents(StyledText widget)
Returns true if the widget displays the entire contents, i.e. it cannot
be vertically scrolled. |
Uses of StyledText in org.eclipse.jface.text.source |
---|
Methods in org.eclipse.jface.text.source with parameters of type StyledText | |
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)
|
Uses of StyledText in org.eclipse.swt.custom |
---|
Constructors in org.eclipse.swt.custom with parameters of type StyledText | |
StyledTextDropTargetEffect(StyledText styledText)
Creates a new StyledTextDropTargetEffect to handle the drag under effect on the specified
StyledText . |
Uses of StyledText in org.eclipse.ui.texteditor |
---|
Methods in org.eclipse.ui.texteditor that return StyledText | |
protected StyledText |
TextNavigationAction.getTextWidget()
Returns the text widget this actions is bound to. |
Constructors in org.eclipse.ui.texteditor with parameters of type StyledText | |
TextNavigationAction(StyledText textWidget,
int action)
Creates a new TextNavigationAction . |
|
AbstractTextEditor.LineEndAction(StyledText textWidget,
boolean doSelect)
Create a new line end action. |
|
AbstractTextEditor.LineStartAction(StyledText textWidget,
boolean doSelect)
Creates a new line start action. |
|
Eclipse Platform Release 3.3 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.