Uses of Class
org.eclipse.swt.custom.StyleRange
Packages that use StyleRange
-
Uses of StyleRange in org.eclipse.swt.custom
Fields in org.eclipse.swt.custom declared as StyleRangeModifier and TypeFieldDescriptionBullet.style
The bullet style.PaintObjectEvent.style
the StyleRangeLineStyleEvent.styles
line 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 TypeMethodDescriptionvoid
StyledText.replaceStyleRanges
(int start, int length, StyleRange[] ranges) Replaces the styles in the given range with new styles.void
StyledText.setStyleRange
(StyleRange range) Adds the specified style.void
StyledText.setStyleRanges
(int[] ranges, StyleRange[] styles) Sets styles to be used for rendering the widget content.void
StyledText.setStyleRanges
(int start, int length, int[] ranges, StyleRange[] styles) Clears the styles in the range specified bystart
andlength
and adds the new styles.void
StyledText.setStyleRanges
(StyleRange[] ranges) Sets styles to be used for rendering the widget content.boolean
StyleRange.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
.