Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
state
/
com.monkopedia.kodemirror.state
/
RangeComparator
Range
Comparator
interface
RangeComparator
<
T
:
RangeValue
>
Collection of methods used when comparing range sets.
Members
Functions
bound
Change
Link copied to clipboard
open
fun
boundChange
(
pos
:
DocPos
)
compare
Point
Link copied to clipboard
abstract
fun
comparePoint
(
from
:
DocPos
,
to
:
DocPos
,
pointA
:
T
?
,
pointB
:
T
?
)
compare
Range
Link copied to clipboard
abstract
fun
compareRange
(
from
:
DocPos
,
to
:
DocPos
,
activeA
:
List
<
T
>
,
activeB
:
List
<
T
>
)