| 693 | } |
| 694 | |
| 695 | void 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 | |
| 702 | void TextEditor::replaceRange(int startPosition, int endPosition, const QString &text, bool changePos) |
| 703 | { |
no test coverage detected