serve-d v0.7.0-beta.7 (2021-07-14T18:52:03Z)
Dub
Repo
wordInLineBytes
served
lsp
textdocumentmanager
Returns a range of the identifier/word at the given position.
uint
[
2
]
wordInLine
(const(char)[] line, uint character)
size_t
[
2
]
wordInLineBytes
(const(char)[] line, size_t bytes)
size_t
[2]
wordInLineBytes
(
const
(
char
)[]
line
,
size_t
bytes
)
Meta
Source
See Implementation
served
lsp
textdocumentmanager
aliases
isIdentifierSeparatingChar
functions
countBytesUntilUTF16Index
countUTF16Length
isDIdentifierSeparatingChar
isValidDIdentifier
wordInLine
wordInLineBytes
wordInLineImpl
manifest constants
testEOF_byte
testEOF_offset
testEOF_position
testLinePostUni_byte
testLinePostUni_offset
testLinePostUni_position
testLinePreUni_byte
testLinePreUni_offset
testLinePreUni_position
testMidAsciiLine_byte
testMidAsciiLine_offset
testMidAsciiLine_position
testSOF_byte
testSOF_offset
testSOF_position
structs
Document
PerDocumentCache
TextDocumentManager
variables
testUnicodeDocument
Returns a range of the identifier/word at the given position.