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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user