dlangide ~master (2022-03-12T21:44:19.0376395)
Dub
Repo
byteOffsetToCaret
dlangide
tools
d
deditortool
convert byte offset in utf8 content to caret position
TextPosition
byteOffsetToCaret
(
string
content
,
int
byteOffset
)
Meta
Source
See Implementation
dlangide
tools
d
deditortool
classes
DEditorTool
functions
byteOffsetToCaret
caretPositionToByteOffset
convert byte offset in utf8 content to caret position