(Changed in version 2.8.0) ++
creates a new buffer. Use ++=
to add an element from this buffer and return that buffer itself.
(Changed in version 2.8.0) -
creates a new buffer. Use -=
to remove an element from this buffer and return that buffer itself.
(Changed in version 2.8.0) -
creates a new buffer. Use -=
to remove an element from this buffer and return that buffer itself.
(Changed in version 2.8.0) --
creates a new buffer. Use --=
to remove an element from this buffer and return that buffer itself.
Add the span to the list of spans.
Add the span to the list of spans. Unlike +=, make a DiffList entry for the change.
Remove the span from the list of spans.
Remove the span from the list of spans. Unlike -=, make a DiffList entry for the change.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
A mutable collection of TokenSpans, with various methods to returns filtered sub-sets of spans based on position and class.