- calcCursorPos
Cursor calcCursorPos(ivec2 absPointerPos, ivec2 absPos)
Undocumented in source. Be warned that the author may not have intended to support it.
- calcCursorPos
Cursor calcCursorPos(ivec2 canvasPointerPos)
Undocumented in source. Be warned that the author may not have intended to support it.
- clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
- copySelection
void copySelection()
Undocumented in source. Be warned that the author may not have intended to support it.
- copyText
void copyText(size_t from, size_t to)
Undocumented in source. Be warned that the author may not have intended to support it.
- getSelectionForCopyCut
Selection getSelectionForCopyCut()
Undocumented in source. Be warned that the author may not have intended to support it.
- insertText
Cursor insertText(Cursor cur, const(char)[] str)
Returns pos after inserted text
- length
size_t length()
Undocumented in source. Be warned that the author may not have intended to support it.
- moveCursor
Cursor moveCursor(Cursor cur, MoveCommand com)
Undocumented in source. Be warned that the author may not have intended to support it.
- moveSelectionCursor
void moveSelectionCursor(MoveCommand com, bool extendSelection)
Undocumented in source. Be warned that the author may not have intended to support it.
- nextOffset
size_t nextOffset(size_t offset)
Undocumented in source. Be warned that the author may not have intended to support it.
- onCommand
void onCommand(EditorCommand com)
Undocumented in source. Be warned that the author may not have intended to support it.
- opSlice
ChunkedRange!char opSlice(size_t from, size_t to)
Undocumented in source. Be warned that the author may not have intended to support it.
- prevOffset
size_t prevOffset(size_t offset)
Undocumented in source. Be warned that the author may not have intended to support it.
- removeAndUpdateSelection
void removeAndUpdateSelection(Selection sel)
Undocumented in source. Be warned that the author may not have intended to support it.
- removeText
void removeText(Selection sel)
Undocumented in source. Be warned that the author may not have intended to support it.
- removeText
void removeText(Cursor from, Cursor to)
Undocumented in source. Be warned that the author may not have intended to support it.
- replaceSelection
void replaceSelection(const(char)[] str)
Undocumented in source. Be warned that the author may not have intended to support it.
- resetBlinkTimer
void resetBlinkTimer()
Undocumented in source. Be warned that the author may not have intended to support it.
- strideAt
uint strideAt(size_t offset)
Undocumented in source. Be warned that the author may not have intended to support it.