dlangide v0.7.6 (2016-09-15T14:12:00Z)
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