Modifier and Type | Field and Description |
---|---|
protected static javax.swing.text.Highlighter.HighlightPainter |
PAINTER_X100PC |
protected static javax.swing.text.Highlighter.HighlightPainter |
PAINTER_XAUTO |
protected static javax.swing.text.Highlighter.HighlightPainter |
PAINTER_XENFORCED |
protected static javax.swing.text.Highlighter.HighlightPainter |
PAINTER_XICE |
Constructor and Description |
---|
ComesFromAutoTMMarker() |
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.
|
protected static final javax.swing.text.Highlighter.HighlightPainter PAINTER_XICE
protected static final javax.swing.text.Highlighter.HighlightPainter PAINTER_X100PC
protected static final javax.swing.text.Highlighter.HighlightPainter PAINTER_XAUTO
protected static final javax.swing.text.Highlighter.HighlightPainter PAINTER_XENFORCED
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?