MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / replaceRange

Method replaceRange

src/plugins/codeeditor/gui/texteditor.cpp:695–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

693}
694
695void TextEditor::replaceRange(int lineFrom, int indexFrom, int lineTo, int indexTo, const QString &text, bool changePos)
696{
697 int startPos = positionFromLineIndex(lineFrom, indexFrom);
698 int endPos = positionFromLineIndex(lineTo, indexTo);
699 replaceRange(startPos, endPos, text, changePos);
700}
701
702void TextEditor::replaceRange(int startPosition, int endPosition, const QString &text, bool changePos)
703{

Callers 2

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected