Uses of Class
org.eclipse.swt.custom.StyleRange
Packages that use StyleRange
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 a framework for viewers, which are model-based
content adapters for SWT widgets.
SWT Custom widgets.
Application programming interfaces for interaction
with the Eclipse console.
-
Uses of StyleRange in org.eclipse.help.ui.internal
Methods in org.eclipse.help.ui.internal that return StyleRange -
Uses of StyleRange in org.eclipse.jface.text
Methods in org.eclipse.jface.text that return StyleRangeModifier and TypeMethodDescriptionTextPresentation.getDefaultStyleRange()Returns this presentation's default style range.TextPresentation.getFirstStyleRange()Returns the style range with the smallest offset ignoring the default style range or null if the presentation is empty.TextPresentation.getLastStyleRange()Returns the style range with the highest offset ignoring the default style range.protected StyleRangeTextViewer.modelStyleRange2WidgetStyleRange(StyleRange range) Translates a style range given relative to the viewer's document into style ranges relative to the viewer's widget ornull.Methods in org.eclipse.jface.text that return types with arguments of type StyleRangeModifier and TypeMethodDescriptionTextPresentation.getAllStyleRangeIterator()Returns an iterator which enumerates all style ranges of this presentation except the default style range.TextPresentation.getNonDefaultStyleRangeIterator()Returns an iterator which enumerates all style ranged which define a style different from the presentation's default style range.Methods in org.eclipse.jface.text with parameters of type StyleRangeModifier and TypeMethodDescriptionvoidTextPresentation.addStyleRange(StyleRange range) Add the given range to the presentation.voidTextPresentation.mergeStyleRange(StyleRange range) Merges the given range into this presentation.voidTextPresentation.mergeStyleRanges(StyleRange[] ranges) Merges the given ranges into this presentation.protected StyleRangeTextViewer.modelStyleRange2WidgetStyleRange(StyleRange range) Translates a style range given relative to the viewer's document into style ranges relative to the viewer's widget ornull.voidTextPresentation.replaceStyleRange(StyleRange range) Replaces the given range in this presentation.voidTextPresentation.replaceStyleRanges(StyleRange[] ranges) Replaces the given ranges in this presentation.voidTextPresentation.setDefaultStyleRange(StyleRange range) Set the default style range of this presentation. -
Uses of StyleRange in org.eclipse.jface.text.source
Methods in org.eclipse.jface.text.source with parameters of type StyleRangeModifier and TypeMethodDescriptionvoidAnnotationPainter.BoxStrategy.applyTextStyle(StyleRange styleRange, Color annotationColor) voidAnnotationPainter.HighlightingStrategy.applyTextStyle(StyleRange styleRange, Color annotationColor) voidAnnotationPainter.ITextStyleStrategy.applyTextStyle(StyleRange styleRange, Color annotationColor) Applies a text style on the givenStyleRange.voidAnnotationPainter.UnderlineStrategy.applyTextStyle(StyleRange styleRange, Color annotationColor) -
Uses of StyleRange in org.eclipse.jface.viewers
Methods in org.eclipse.jface.viewers that return StyleRangeModifier and TypeMethodDescriptionStyledString.getStyleRanges()Returns an array ofStyleRangeresulting from applying all associated stylers for this string builder.ViewerCell.getStyleRanges()Returns the style ranges to be applied on the text label ornullif no style ranges have been set.ViewerRow.getStyleRanges(int columnIndex) Returns the style ranges to be applied on the text label at the column index ornullif no style ranges have been set.protected StyleRangeStyledCellLabelProvider.prepareStyleRange(StyleRange styleRange, boolean applyColors) Prepares the given style range before it is applied to the label.Methods in org.eclipse.jface.viewers with parameters of type StyleRangeModifier and TypeMethodDescriptionprotected StyleRangeStyledCellLabelProvider.prepareStyleRange(StyleRange styleRange, boolean applyColors) Prepares the given style range before it is applied to the label.voidViewerCell.setStyleRanges(StyleRange[] styleRanges) Set the style ranges to be applied on the text label Note: RequiresStyledCellLabelProviderwith owner draw enabled.voidViewerRow.setStyleRanges(int columnIndex, StyleRange[] styleRanges) Set the style ranges to be applied on the text label at the column index Note: RequiresStyledCellLabelProviderwith owner draw enabled. -
Uses of StyleRange in org.eclipse.swt.custom
Fields in org.eclipse.swt.custom declared as StyleRangeModifier and TypeFieldDescriptionBullet.styleThe bullet style.PaintObjectEvent.stylethe StyleRangeLineStyleEvent.stylesline styles (output) Note: Because a StyleRange includes the start and length, the same instance cannot occur multiple times in the array of styles.Methods in org.eclipse.swt.custom that return StyleRangeModifier and TypeMethodDescriptionStyledText.getStyleRangeAtOffset(int offset) Returns the style range at the given offset.StyledText.getStyleRanges()Returns the styles.StyledText.getStyleRanges(boolean includeRanges) Returns the styles.StyledText.getStyleRanges(int start, int length) Returns the styles for the given text range.StyledText.getStyleRanges(int start, int length, boolean includeRanges) Returns the styles for the given text range.Methods in org.eclipse.swt.custom with parameters of type StyleRangeModifier and TypeMethodDescriptionvoidStyledText.replaceStyleRanges(int start, int length, StyleRange[] ranges) Replaces the styles in the given range with new styles.voidStyledText.setStyleRange(StyleRange range) Adds the specified style.voidStyledText.setStyleRanges(int[] ranges, StyleRange[] styles) Sets styles to be used for rendering the widget content.voidStyledText.setStyleRanges(int start, int length, int[] ranges, StyleRange[] styles) Clears the styles in the range specified bystartandlengthand adds the new styles.voidStyledText.setStyleRanges(StyleRange[] ranges) Sets styles to be used for rendering the widget content.booleanStyleRange.similarTo(StyleRange style) Compares the specified object to this StyleRange and answer if the two are similar.Constructors in org.eclipse.swt.custom with parameters of type StyleRangeModifierConstructorDescriptionBullet(int type, StyleRange style) Create a new bullet the specified style and type.Bullet(StyleRange style) Create a new bullet with the specified style, and typeST.BULLET_DOT. -
Uses of StyleRange in org.eclipse.ui.console
Methods in org.eclipse.ui.console that return StyleRangeModifier and TypeMethodDescriptionIConsoleDocumentPartitioner.getStyleRanges(int offset, int length) Returns style ranges for the specified region of this partitioner's document to use when rendering, ornullif none. -
Uses of StyleRange in org.eclipse.ui.texteditor.stickyscroll
Methods in org.eclipse.ui.texteditor.stickyscroll that return StyleRangeModifier and TypeMethodDescriptionIStickyLine.getStyleRanges()Returns the style ranges of the sticky line.StickyLine.getStyleRanges()