Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
plugin-ext
Selection
Class Selection
Hierarchy (
view full
)
Range
Selection
Index
Constructors
constructor
Properties
_active
_anchor
_end
_start
Accessors
active
anchor
end
is
Empty
is
Reversed
is
Single
Line
start
Methods
contains
intersection
is
Equal
toJSON
union
with
is
Range
Constructors
constructor
new
Selection
(
anchor
,
active
)
:
Selection
Parameters
anchor
:
Position
active
:
Position
Returns
Selection
new
Selection
(
anchorLine
,
anchorColumn
,
activeLine
,
activeColumn
)
:
Selection
Parameters
anchorLine
:
number
anchorColumn
:
number
activeLine
:
number
activeColumn
:
number
Returns
Selection
Properties
Private
_active
_active
:
Position
Private
_anchor
_anchor
:
Position
Protected
_end
_end
:
Position
Protected
_start
_start
:
Position
Accessors
active
get
active
(
)
:
Position
Returns
Position
anchor
get
anchor
(
)
:
Position
Returns
Position
end
get
end
(
)
:
Position
Returns
Position
is
Empty
get
isEmpty
(
)
:
boolean
Returns
boolean
is
Reversed
get
isReversed
(
)
:
boolean
Returns
boolean
is
Single
Line
get
isSingleLine
(
)
:
boolean
Returns
boolean
start
get
start
(
)
:
Position
Returns
Position
Methods
contains
contains
(
positionOrRange
)
:
boolean
Parameters
positionOrRange
:
Position
|
Range
Returns
boolean
intersection
intersection
(
other
)
:
undefined
|
Range
Parameters
other
:
Range
Returns
undefined
|
Range
is
Equal
is
Equal
(
other
)
:
boolean
Parameters
other
:
Range
Returns
boolean
toJSON
toJSON
(
)
:
unknown
Returns
unknown
union
union
(
other
)
:
Range
Parameters
other
:
Range
Returns
Range
with
with
(
change
)
:
Range
Parameters
change
:
{
end
?:
Position
;
start
?:
Position
;
}
Optional
end
?:
Position
Optional
start
?:
Position
Returns
Range
with
(
start
?
,
end
?
)
:
Range
Parameters
Optional
start
:
Position
Optional
end
:
Position
Returns
Range
Static
is
Range
is
Range
(
arg
)
:
arg
is
Range
Parameters
arg
:
unknown
Returns
arg
is
Range
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
_active
_anchor
_end
_start
active
anchor
end
is
Empty
is
Reversed
is
Single
Line
start
contains
intersection
is
Equal
toJSON
union
with
is
Range
Theia TypeDoc
Loading...