PairedHighlightRange

class PairedHighlightRange(start: TextPosition, end: TextPosition, val highlight: Highlight, val owner: Any? = null, other: PairedHighlightRange?) : HighlightRange

A HighlightRange, which is part of a matched pair, for example, an opening and closing bracket.

Always create PairedHighlightRange in pairs, never alone, or with more than two items.

Note, Scarea knows nothing of PairedHighlightRanges, and will happily remove one of them from its list, leaving the other untouched.

Constructors

Link copied to clipboard
constructor(start: TextPosition, end: TextPosition, highlight: Highlight, owner: Any? = null, other: PairedHighlightRange?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val owner: Any? = null
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String