texteditor: return information on whether openEditor actually created an

editor or re-used an existing one
This commit is contained in:
hjk
2010-03-10 12:48:53 +01:00
parent f7e0366d65
commit 944b6dad7d
5 changed files with 24 additions and 12 deletions

View File

@@ -291,7 +291,8 @@ public:
~BaseTextEditor();
static ITextEditor *openEditorAt(const QString &fileName, int line, int column = 0,
const QString &editorId = QString());
const QString &editorId = QString(),
bool *newEditor = 0);
const Utils::ChangeSet &changeSet() const;
void setChangeSet(const Utils::ChangeSet &changeSet);