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:
David Schulz
2023-07-04 10:05:33 +02:00
parent 81e8c67686
commit 4743724d4c
11 changed files with 74 additions and 69 deletions

View File

@@ -103,6 +103,8 @@ private:
bool m_error;
};
using EditOperations = QList<ChangeSet::EditOp>;
inline bool operator<(const ChangeSet::Range &r1, const ChangeSet::Range &r2)
{
return r1.start < r2.start;