dlangide ~master (2018-03-20T13:36:12Z)
Home
Dub
Repo
caretPositionToByteOffset
dlangide
tools
d
deditortool
convert caret position to byte offset in utf8 content
int
caretPositionToByteOffset
(
string
content
,
TextPosition
caretPosition
)
Meta
Source
See Implementation
dlangide
tools
d
deditortool
functions
byteOffsetToCaret
caretPositionToByteOffset
convert caret position to byte offset in utf8 content