dlangide v0.7.77 (2017-09-12T14:20:07Z)
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
classes
DEditorTool
functions
byteOffsetToCaret
caretPositionToByteOffset
convert caret position to byte offset in utf8 content