Interface: TextDocumentOffset
Defined in: TextOffset.ts:17
Extends
Properties
col
col:
number
Defined in: TextOffset.ts:21
doc
doc:
string
Defined in: TextOffset.ts:19
length?
optional
length:number
Defined in: TextOffset.ts:14
Assumed to match text.length
if the text has not been transformed.
Inherited from
line
line:
TextOffset
Defined in: TextOffset.ts:22
offset
offset:
number
Defined in: TextOffset.ts:10
The offset into the document.
Inherited from
row
row:
number
Defined in: TextOffset.ts:20
text
text:
string
Defined in: TextOffset.ts:6
The text found at the offset. If the text has been transformed, then the length might not match length
.
Example: Original: cafe\u0301
, text: café
Inherited from
uri?
optional
uri:string
Defined in: TextOffset.ts:18