forked from qt-creator/qt-creator
Added `editorKind' to BaseTextEditor::openEditorAt(). We need it to force the CPPEDITOR kind
when opening files from the C++ editor (e.g. when the user press F2 on #include <QMutex>).
This commit is contained in:
@@ -230,7 +230,8 @@ public:
|
||||
BaseTextEditor(QWidget *parent);
|
||||
~BaseTextEditor();
|
||||
|
||||
static ITextEditor *openEditorAt(const QString &fileName, int line, int column = 0);
|
||||
static ITextEditor *openEditorAt(const QString &fileName, int line, int column = 0,
|
||||
const QString &editorKind = QString());
|
||||
|
||||
// EditorInterface
|
||||
Core::IFile * file();
|
||||
|
||||
Reference in New Issue
Block a user