serve-d v0.7.0-beta.7 (2021-07-14T18:52:03Z)
Dub
Repo
Document.wordRangeAt
served
lsp
textdocumentmanager
Document
Returns the word range at a given line/column position.
TextRange
wordRangeAt
(Position position)
struct
Document
const
TextRange
wordRangeAt
(
Position
position
)
size_t
[
2
]
wordRangeAt
(size_t bytes)
Meta
Source
See Implementation
served
lsp
textdocumentmanager
Document
constructors
this
functions
applyChange
bytesToOffset
bytesToPosition
clone
eolAt
getLanguageId
length
lineAt
lineAtScope
lineByteRangeAt
lineColumnBytesToPosition
movePositionBytes
nextPositionBytes
offsetToBytes
offsetToPosition
positionToBytes
positionToOffset
rawText
setContent
wordRangeAt
static functions
nullDocument
variables
languageId
uri
version_
Returns the word range at a given line/column position.