Modifier and Type | Field and Description |
---|---|
protected static javax.swing.text.Highlighter.HighlightPainter |
PAINTER |
Constructor and Description |
---|
ReplaceMarker() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Mark> |
getMarksForEntry(SourceTextEntry ste,
java.lang.String sourceText,
java.lang.String translationText,
boolean isActive)
Calculate marks for specific entry.
|
public java.util.List<Mark> getMarksForEntry(SourceTextEntry ste, java.lang.String sourceText, java.lang.String translationText, boolean isActive) throws java.lang.Exception
IMarker
Method will be called NOT in Swing thread.
Note to implementers: Both sourceText
and translationText
might be null!
getMarksForEntry
in interface IMarker
sourceText
- might be null!translationText
- might be null!isActive
- is this an active segment in the document?java.lang.Exception