dlangide v0.7.42 (2017-08-11T16:19:30Z)
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