The attribute key for highlights that need to span across a whole line.
Typically highlights only affect rendering of a small part of text
(perhaps just several characters). Some layers, however, need to highlight
a whole line in an editor window regardless of how much text the line
contains. The highlighting of a line with a caret is an example of such a layer.
If you want a highlight that spans accross the whole editor pane you
can add this attribute key to the highlight's AttributeSet
and set its value to Boolean.TRUE . The highlighted area must
contain the new-line character at the end of the line.
|