Modifier and Type | Field and Description |
---|---|
protected static javax.swing.text.Highlighter.HighlightPainter |
PAINTER |
Constructor and Description |
---|
ComesFromMTMarker() |
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.
|
void |
setMark(SourceTextEntry ste,
java.lang.String text) |
public void setMark(SourceTextEntry ste, java.lang.String text)
public java.util.List<Mark> getMarksForEntry(SourceTextEntry ste, java.lang.String sourceText, java.lang.String translationText, boolean isActive)
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?