forked from qt-creator/qt-creator
EditorManager: add a flag for embedded linenumbers
And make use of it to accept on the command line the patterns: "filename" "+45", "filename" ":23", "filename:12" and "filename+42" Task-Nr: QTCREATORBUG-2428
This commit is contained in:
@@ -335,7 +335,7 @@ void GettingStartedWelcomePageWidget::slotOpenExample()
|
||||
tryFile = proFileInfo.path() + '/' + proFileInfo.baseName() + ".qml";
|
||||
if(QFile::exists(tryFile))
|
||||
files << tryFile;
|
||||
Core::ICore::instance()->openFiles(files, true);
|
||||
Core::ICore::instance()->openFiles(files, Core::ICore::SwitchMode);
|
||||
if (!helpFile.isEmpty())
|
||||
slotOpenContextHelpPage(helpFile);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user