dlangide ~master (2018-03-20T13:36:12Z)
Home
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
functions
byteOffsetToCaret
caretPositionToByteOffset
convert byte offset in utf8 content to caret position