forked from qt-creator/qt-creator
QuickFix: Clean up RefactoringChanges and add missing functionality.
* Can change files without opening an editor. * Can open an editor without changing a file. * Default to reindenting new files. * Allow reading a file temporarily to access document and text.
This commit is contained in:
@@ -53,6 +53,9 @@ public:
|
||||
CPlusPlus::Document::Ptr document(const QString &fileName) const;
|
||||
const CPlusPlus::LookupContext &context() const;
|
||||
|
||||
private:
|
||||
virtual void indentSelection(const QTextCursor &selection) const;
|
||||
|
||||
private:
|
||||
CPlusPlus::Document::Ptr m_thisDocument;
|
||||
CPlusPlus::Snapshot m_snapshot;
|
||||
|
||||
Reference in New Issue
Block a user