forked from qt-creator/qt-creator
Editor: replace Utils::Text::Replacement with Utils::ChangeSet::EditOp for formatting
Removes the last usage of Utils::Text::Replacement with a more commonly used pattern. Change-Id: I0912bf61388a58ddaba424380ec139f9aa15fc4c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -40,8 +40,8 @@ public:
|
||||
void autoIndent(const QTextCursor &cursor,
|
||||
const TextEditor::TabSettings &tabSettings,
|
||||
int cursorPositionInEditor = -1) override;
|
||||
Utils::Text::Replacements format(const TextEditor::RangesInLines &rangesInLines,
|
||||
FormattingMode mode) override;
|
||||
Utils::EditOperations format(const TextEditor::RangesInLines &rangesInLines,
|
||||
FormattingMode mode) override;
|
||||
bool formatOnSave() const override;
|
||||
TextEditor::IndentationForBlock indentationForBlocks(const QVector<QTextBlock> &blocks,
|
||||
const TextEditor::TabSettings &tabSettings,
|
||||
|
||||
Reference in New Issue
Block a user