Uses of Class
org.eclipse.equinox.bidi.custom.StructuredTextCharTypes
Package
Description
This package provides APIs for plug-in developers to contribute
handlers for specific types of bidirectional expressions not
supported in the standard distribution.
-
Uses of StructuredTextCharTypes in org.eclipse.equinox.bidi.custom
Modifier and TypeMethodDescriptionint
StructuredTextTypeHandler.getDirection
(IStructuredTextExpert expert, String text, StructuredTextCharTypes charTypes) Indicates the base text direction appropriate for an instance of structured text.int
StructuredTextTypeHandler.indexOfSpecial
(IStructuredTextExpert expert, String text, StructuredTextCharTypes charTypes, StructuredTextOffsets offsets, int caseNumber, int fromIndex) Locates occurrences of special strings within a structured text and returns their indexes one after the other in successive calls.static final void
StructuredTextTypeHandler.insertMark
(String text, StructuredTextCharTypes charTypes, StructuredTextOffsets offsets, int offset) Specifies that a mark character must be added before the character at the specified position of the lean text when generating the full text.void
StructuredTextOffsets.insertOffset
(StructuredTextCharTypes charTypes, int offset) Inserts an offset value in the offset array so that the array stays in ascending order.static final void
StructuredTextTypeHandler.processSeparator
(String text, StructuredTextCharTypes charTypes, StructuredTextOffsets offsets, int separLocation) Adds a directional mark before a separator if needed for correct display, depending on the base direction of the text and on the class of the characters in the lean text preceding and following the separator itself.int
StructuredTextTypeHandler.processSpecial
(IStructuredTextExpert expert, String text, StructuredTextCharTypes charTypes, StructuredTextOffsets offsets, int caseNumber, int separLocation) Handles special cases specific to this handler.boolean
StructuredTextTypeHandler.skipProcessing
(IStructuredTextExpert expert, String text, StructuredTextCharTypes charTypes) Checks if there is a need for processing structured text.