Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
TextBuffer
IRange
Interface IRange
Index
Properties
constructor
end
start
Methods
add
compare
containsPoint
containsRange
copy
coversSameRows
freeze
getRowCount
getRows
intersectsRow
intersectsRowRange
intersectsWith
isEmpty
isEqual
isSingleLine
serialize
toDelta
translate
union
Properties
public
constructor
:
IRangeStatic
public
end
:
IPoint
public
start
:
IPoint
Methods
public
add
(
object
:
IPoint
[]
)
:
IRange
Parameters
object:
IPoint
[]
Returns
IRange
public
add
(
object
:
{ start: TextBuffer.IPoint; end: TextBuffer.IPoint; }
)
:
IRange
Parameters
object:
{ start: TextBuffer.IPoint; end: TextBuffer.IPoint; }
Returns
IRange
public
add
(
object
:
{ start: number[]; end: TextBuffer.IPoint; }
)
:
IRange
Parameters
object:
{ start: number[]; end: TextBuffer.IPoint; }
Returns
IRange
public
add
(
object
:
{ start: { row: number; column: number; }; end: TextBuffer.IPoint; }
)
:
IRange
Parameters
object:
{ start: { row: number; column: number; }; end: TextBuffer.IPoint; }
Returns
IRange
public
add
(
object
:
{ start: TextBuffer.IPoint; end: number[]; }
)
:
IRange
Parameters
object:
{ start: TextBuffer.IPoint; end: number[]; }
Returns
IRange
public
add
(
object
:
{ start: number[]; end: number[]; }
)
:
IRange
Parameters
object:
{ start: number[]; end: number[]; }
Returns
IRange
public
add
(
object
:
{ start: { row: number; column: number; }; end: number[]; }
)
:
IRange
Parameters
object:
{ start: { row: number; column: number; }; end: number[]; }
Returns
IRange
public
add
(
object
:
{ start: TextBuffer.IPoint; end: { row: number; column: number; }; }
)
:
IRange
Parameters
object:
{ start: TextBuffer.IPoint; end: { row: number; column: number; }; }
Returns
IRange
public
add
(
object
:
{ start: number[]; end: { row: number; column: number; }; }
)
:
IRange
Parameters
object:
{ start: number[]; end: { row: number; column: number; }; }
Returns
IRange
public
add
(
object
:
{ start: { row: number; column: number; }; end: { row: number; column: number; }; }
)
:
IRange
Parameters
object:
{ start: { row: number; column: number; }; end: { row: number; column: number; }; }
Returns
IRange
public
compare
(
object
:
IPoint
[]
)
:
number
Parameters
object:
IPoint
[]
Returns
number
public
compare
(
object
:
{ start: TextBuffer.IPoint; end: TextBuffer.IPoint; }
)
:
number
Parameters
object:
{ start: TextBuffer.IPoint; end: TextBuffer.IPoint; }
Returns
number
public
compare
(
object
:
{ start: number[]; end: TextBuffer.IPoint; }
)
:
number
Parameters
object:
{ start: number[]; end: TextBuffer.IPoint; }
Returns
number
public
compare
(
object
:
{ start: { row: number; column: number; }; end: TextBuffer.IPoint; }
)
:
number
Parameters
object:
{ start: { row: number; column: number; }; end: TextBuffer.IPoint; }
Returns
number
public
compare
(
object
:
{ start: TextBuffer.IPoint; end: number[]; }
)
:
number
Parameters
object:
{ start: TextBuffer.IPoint; end: number[]; }
Returns
number
public
compare
(
object
:
{ start: number[]; end: number[]; }
)
:
number
Parameters
object:
{ start: number[]; end: number[]; }
Returns
number
public
compare
(
object
:
{ start: { row: number; column: number; }; end: number[]; }
)
:
number
Parameters
object:
{ start: { row: number; column: number; }; end: number[]; }
Returns
number
public
compare
(
object
:
{ start: TextBuffer.IPoint; end: { row: number; column: number; }; }
)
:
number
Parameters
object:
{ start: TextBuffer.IPoint; end: { row: number; column: number; }; }
Returns
number
public
compare
(
object
:
{ start: number[]; end: { row: number; column: number; }; }
)
:
number
Parameters
object:
{ start: number[]; end: { row: number; column: number; }; }
Returns
number
public
compare
(
object
:
{ start: { row: number; column: number; }; end: { row: number; column: number; }; }
)
:
number
Parameters
object:
{ start: { row: number; column: number; }; end: { row: number; column: number; }; }
Returns
number
public
containsPoint
(
point
:
IPoint
, exclusive
:
boolean
)
:
boolean
Parameters
point:
IPoint
exclusive:
boolean
Returns
boolean
public
containsPoint
(
point
:
Array<number>
, exclusive
:
boolean
)
:
boolean
Parameters
point:
Array<number>
exclusive:
boolean
Returns
boolean
public
containsPoint
(
point
:
{ row: number; column: number; }
, exclusive
:
boolean
)
:
boolean
Parameters
point:
{ row: number; column: number; }
exclusive:
boolean
Returns
boolean
public
containsRange
(
otherRange
:
IRange
, exclusive
:
boolean
)
:
boolean
Parameters
otherRange:
IRange
exclusive:
boolean
Returns
boolean
public
copy
(
)
:
IRange
Returns
IRange
public
coversSameRows
(
other
:
IRange
)
:
boolean
Parameters
other:
IRange
Returns
boolean
public
freeze
(
)
:
IRange
Returns
IRange
public
getRowCount
(
)
:
number
Returns
number
public
getRows
(
)
:
Array<number>
Returns
Array<number>
public
intersectsRow
(
row
:
number
)
:
boolean
Parameters
row:
number
Returns
boolean
public
intersectsRowRange
(
startRow
:
number
, endRow
:
number
)
:
boolean
Parameters
startRow:
number
endRow:
number
Returns
boolean
public
intersectsWith
(
otherRange
:
IRange
)
:
boolean
Parameters
otherRange:
IRange
Returns
boolean
public
isEmpty
(
)
:
boolean
Returns
boolean
public
isEqual
(
other
:
IRange
)
:
boolean
Parameters
other:
IRange
Returns
boolean
public
isEqual
(
other
:
IPoint
[]
)
:
boolean
Parameters
other:
IPoint
[]
Returns
boolean
public
isSingleLine
(
)
:
boolean
Returns
boolean
public
serialize
(
)
:
Array<number[]>
Returns
Array<number[]>
public
toDelta
(
)
:
IPoint
Returns
IPoint
public
translate
(
startPoint
:
IPoint
, endPoint
:
IPoint
)
:
IRange
Parameters
startPoint:
IPoint
endPoint:
IPoint
Returns
IRange
public
translate
(
startPoint
:
IPoint
)
:
IRange
Parameters
startPoint:
IPoint
Returns
IRange
public
union
(
otherRange
:
IRange
)
:
IRange
Parameters
otherRange:
IRange
Returns
IRange
Globals
AtomCore
Emissary
Mixto
NodeJS
PathWatcher
StatusBar
TextBuffer
assert
atom
buffer
child_process
cluster
crypto
dgram
dns
domain
emissary
events
fs
http
https
jquery
mixto
net
os
path
pathwatcher
punycode
q
querystring
readline
repl
space-pen
stream
string_decoder
text-buffer
tls
tty
url
util
vm
zlib
IBufferPatch
IHistory
IMarker
IMarkerManager
IPoint
IPointStatic
IRange
constructor
end
start
add
compare
containsPoint
containsRange
copy
coversSameRows
freeze
getRowCount
getRows
intersectsRow
intersectsRowRange
intersectsWith
isEmpty
isEqual
isSingleLine
serialize
toDelta
translate
union
IRangeStatic
ITextBuffer
ITextBufferStatic