forked from qt-creator/qt-creator
Debugger: Fix debugger switching to edit mode.
... on clicking stack frames or disassembler/ memory views. Introduce flags to openEditorAt, pass EditorManager::NoModeSwitch where applicable. Task-number: QTCREATORBUG-2278
This commit is contained in:
@@ -34,6 +34,8 @@
|
||||
|
||||
#include <find/ifindsupport.h>
|
||||
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
|
||||
#include <QtGui/QPlainTextEdit>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
@@ -141,7 +143,8 @@ public:
|
||||
~BaseTextEditor();
|
||||
|
||||
static ITextEditor *openEditorAt(const QString &fileName, int line, int column = 0,
|
||||
const QString &editorId = QString(),
|
||||
const QString &editorId = QString(),
|
||||
Core::EditorManager::OpenEditorFlags flags = Core::EditorManager::IgnoreNavigationHistory,
|
||||
bool *newEditor = 0);
|
||||
|
||||
const Utils::ChangeSet &changeSet() const;
|
||||
|
||||
Reference in New Issue
Block a user