Uses of Class
org.eclipse.swt.custom.StyledText
Packages that use StyledText
Package
Description
Provides a framework for creating and manipulating text documents.
Provides a framework for connecting document regions
with annotations and for displaying those.
Provides useful building blocks used throughout JFace,
including property change events, a listener list implementation, and runtime
checked assertions.
SWT Custom widgets.
Classes for actions and operations used in a workbench
window, page, or part in the Eclipse Platform User Interface.
Provides a framework for text editors obeying to the
desktop rules.
-
Uses of StyledText in org.eclipse.help.ui.internal
Subclasses of StyledText in org.eclipse.help.ui.internal -
Uses of StyledText in org.eclipse.jface.text
Methods in org.eclipse.jface.text that return StyledTextModifier and TypeMethodDescriptionprotected StyledTextTextViewer.createTextWidget(Composite parent, int styles) Factory method to create the text widget to be used as the viewer's text widget.ITextViewer.getTextWidget()Returns this viewer's SWT control,nullif the control is disposed.TextViewer.getTextWidget()Methods in org.eclipse.jface.text with parameters of type StyledTextModifier and TypeMethodDescriptionstatic voidTextPresentation.applyTextPresentation(TextPresentation presentation, StyledText text) Applies the given presentation to the given text widget.static intJFaceTextUtil.computeLineHeight(StyledText styledText, int widgetLine) Computes the full line height for the text line corresponding to the given widget line, considering the possible line wrapping.static intJFaceTextUtil.computeLineHeight(StyledText textWidget, int startLine, int endLine, int lineCount) Computes the line height for the given line range.static intJFaceTextUtil.getBottomIndex(StyledText widget) Returns the last fully visible line of the widget.static intJFaceTextUtil.getHiddenTopLinePixels(StyledText textWidget) Returns the number of hidden pixels of the first partially visible line.static intJFaceTextUtil.getLineIndex(StyledText textWidget, int y) static intJFaceTextUtil.getLinePixel(StyledText textWidget, int line) static intJFaceTextUtil.getPartialBottomIndex(StyledText widget) Returns the index of the last (possibly only partially) visible line of the widgetstatic intJFaceTextUtil.getPartialTopIndex(StyledText widget) Returns the index of the first (possibly only partially) visible line of the widgetstatic booleanJFaceTextUtil.isShowingEntireContents(StyledText widget) Returnstrueif the widget displays the entire contents, i.e. it cannot be vertically scrolled. -
Uses of StyledText in org.eclipse.jface.text.codemining
Methods in org.eclipse.jface.text.codemining with parameters of type StyledTextModifier and TypeMethodDescriptionAbstractCodeMining.draw(GC gc, StyledText textWidget, Color color, int x, int y) Draw theAbstractCodeMining.getLabel()of mining with gray color.ICodeMining.draw(GC gc, StyledText textWidget, Color color, int x, int y) Draw the code mining. -
Uses of StyledText in org.eclipse.jface.text.source
Methods in org.eclipse.jface.text.source with parameters of type StyledTextModifier and TypeMethodDescriptionvoidAnnotationPainter.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.voidAnnotationPainter.NullStrategy.draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color) voidAnnotationPainter.SquigglesStrategy.draw(Annotation annotation, GC gc, StyledText textWidget, int offset, int length, Color color) Deprecated. -
Uses of StyledText in org.eclipse.jface.text.source.inlined
Methods in org.eclipse.jface.text.source.inlined that return StyledTextModifier and TypeMethodDescriptionAbstractInlinedAnnotation.getTextWidget()Returns theStyledTextwidget where the annotation must be drawn.Methods in org.eclipse.jface.text.source.inlined with parameters of type StyledTextModifier and TypeMethodDescriptionvoidAbstractInlinedAnnotation.draw(GC gc, StyledText textWidget, int widgetOffset, int length, Color color, int x, int y) Draw the inlined annotation.final voidLineContentAnnotation.draw(GC gc, StyledText textWidget, int offset, int length, Color color, int x, int y) Draw the inlined annotation.protected intLineContentAnnotation.drawAndComputeWidth(GC gc, StyledText textWidget, int offset, int length, Color color, int x, int y) Draw the inlined annotation. -
Uses of StyledText in org.eclipse.jface.util
Methods in org.eclipse.jface.util with parameters of type StyledTextModifier and TypeMethodDescriptionstatic voidBidiUtils.applyBidiProcessing(StyledText field, String handlingType) Applies bidi processing to the given styled text field. -
Uses of StyledText in org.eclipse.swt.custom
Constructors in org.eclipse.swt.custom with parameters of type StyledTextModifierConstructorDescriptionStyledTextDropTargetEffect(StyledText styledText) Creates a newStyledTextDropTargetEffectto handle the drag under effect on the specifiedStyledText. -
Uses of StyledText in org.eclipse.ui.actions
Methods in org.eclipse.ui.actions with parameters of type StyledTextModifier and TypeMethodDescriptionprotected PointQuickMenuCreator.computeMenuLocation(StyledText text) Hook to compute the menu location if the focus widget is a styled text widget. -
Uses of StyledText in org.eclipse.ui.texteditor
Methods in org.eclipse.ui.texteditor that return StyledTextModifier and TypeMethodDescriptionprotected StyledTextTextNavigationAction.getTextWidget()Returns the text widget this actions is bound to.Constructors in org.eclipse.ui.texteditor with parameters of type StyledTextModifierConstructorDescriptionLineEndAction(StyledText textWidget, boolean doSelect) Create a new line end action.LineStartAction(StyledText textWidget, boolean doSelect) Creates a new line start action.TextNavigationAction(StyledText textWidget, int action) Creates a newTextNavigationAction.