forked from qt-creator/qt-creator
TextEditor: Introduce PlainRefactoringFileFactory
This makes it immediately clear that there are more specialized variants available, which helps users make a conscious decision. Change-Id: I35feb4bed2d91fb4f83ede6e731d9ce89fd4af3f Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -514,7 +514,7 @@ bool TextDocument::applyChangeSet(const ChangeSet &changeSet)
|
||||
{
|
||||
if (changeSet.isEmpty())
|
||||
return true;
|
||||
RefactoringFileFactory changes;
|
||||
PlainRefactoringFileFactory changes;
|
||||
const RefactoringFilePtr file = changes.file(filePath());
|
||||
file->setChangeSet(changeSet);
|
||||
return file->apply();
|
||||
|
||||
Reference in New Issue
Block a user