forked from qt-creator/qt-creator
Added getter/setters for the ChangeSet.
This commit is contained in:
@@ -46,6 +46,7 @@ QT_END_NAMESPACE
|
||||
|
||||
namespace Utils {
|
||||
class LineColumnLabel;
|
||||
class ChangeSet;
|
||||
}
|
||||
|
||||
namespace TextEditor {
|
||||
@@ -290,6 +291,9 @@ public:
|
||||
static ITextEditor *openEditorAt(const QString &fileName, int line, int column = 0,
|
||||
const QString &editorKind = QString());
|
||||
|
||||
const Utils::ChangeSet &changeSet() const;
|
||||
void setChangeSet(const Utils::ChangeSet &changeSet);
|
||||
|
||||
// EditorInterface
|
||||
Core::IFile * file();
|
||||
bool createNew(const QString &contents);
|
||||
|
||||
Reference in New Issue
Block a user