Preparing search index...
The search index is not available
Ace API Reference
Ace API Reference
src/range_list
RangeList
Class RangeList
Hierarchy (
view full
)
RangeList
Fold
Index
Constructors
constructor
Properties
$bias
compare
Points
on
Change
ranges
session
Methods
$on
Change
add
add
List
attach
clip
Rows
contains
contains
Point
detach
merge
point
Index
range
At
Point
remove
All
substract
Point
Constructors
constructor
new
Range
List
(
)
:
RangeList
Returns
RangeList
Properties
$bias
$bias
:
number
compare
Points
compare
Points
:
(
(
p1
,
p2
)
=>
number
)
Type declaration
(
p1
,
p2
)
:
number
Compares
p1
and
p2
[[Point]]'s, useful for sorting
Parameters
p1
:
Point
p2
:
Point
Returns
number
on
Change
on
Change
:
any
ranges
ranges
:
any
[]
session
session
:
EditSession
Methods
$on
Change
$on
Change
(
delta
)
:
void
Parameters
delta
:
Delta
Returns
void
add
add
(
range
)
:
any
[]
Parameters
range
:
Range
Returns
any
[]
add
List
add
List
(
list
)
:
any
[]
Parameters
list
:
Range
[]
Returns
any
[]
attach
attach
(
session
)
:
void
Parameters
session
:
EditSession
Returns
void
clip
Rows
clip
Rows
(
startRow
,
endRow
)
:
any
[]
Parameters
startRow
:
number
endRow
:
number
Returns
any
[]
contains
contains
(
row
,
column
)
:
boolean
Parameters
row
:
number
column
:
number
Returns
boolean
contains
Point
contains
Point
(
pos
)
:
boolean
Parameters
pos
:
Point
Returns
boolean
detach
detach
(
)
:
void
Returns
void
merge
merge
(
)
:
any
[]
Returns
any
[]
point
Index
point
Index
(
pos
,
excludeEdges
?
,
startIndex
?
)
:
number
Parameters
pos
:
Point
Optional
excludeEdges
:
boolean
Optional
startIndex
:
number
Returns
number
range
At
Point
range
At
Point
(
pos
)
:
any
Parameters
pos
:
Point
Returns
any
remove
All
remove
All
(
)
:
any
[]
Returns
any
[]
substract
Point
substract
Point
(
pos
)
:
any
[]
Parameters
pos
:
Point
Returns
any
[]
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
$bias
compare
Points
on
Change
ranges
session
$on
Change
add
add
List
attach
clip
Rows
contains
contains
Point
detach
merge
point
Index
range
At
Point
remove
All
substract
Point
Ace API Reference
ace
src
ace
anchor
apply_delta
autocomplete
background_tokenizer
bidihandler
clipboard
commands
command_manager
default_commands
incremental_search_commands
multi_select_commands
occur_commands
config
css/editor-css
document
edit_session
editor
ext
Loading...
Generated using
TypeDoc
Compares
p1
andp2
[[Point]]'s, useful for sorting