Package org.omegat.gui.editor.mark
Class BidiMarkers
java.lang.Object
org.omegat.gui.editor.mark.AbstractMarker
org.omegat.gui.editor.mark.BidiMarkers
- All Implemented Interfaces:
IMarker
Collection of Markers for Bidirectional control characters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMarksForEntry(SourceTextEntry ste, String sourceText, String text, boolean isActive) Calculate marks for specific entry.
-
Constructor Details
-
BidiMarkers
- Throws:
Exception
-
-
Method Details
-
getMarksForEntry
public List<Mark> getMarksForEntry(SourceTextEntry ste, String sourceText, String text, boolean isActive) throws Exception Description copied from interface:IMarkerCalculate marks for specific entry.Method will be called NOT in Swing thread.
Note to implementers: Both
sourceTextandtranslationTextmight be null!- Specified by:
getMarksForEntryin interfaceIMarker- Overrides:
getMarksForEntryin classAbstractMarker- Parameters:
ste- entry to calculate marks forsourceText- might be null!text- might be null!isActive- is this an active segment in the document?- Returns:
- null if nothing changed, or list of new marks. Empty list must be returned if marks shouldn't be displayed
- Throws:
Exception- if something went wrong
-