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:
dt
2010-09-23 12:32:22 +02:00
parent 034bb72dc4
commit d81d90a67a
12 changed files with 67 additions and 26 deletions

View File

@@ -100,7 +100,7 @@ void CorePlugin::extensionsInitialized()
void CorePlugin::remoteCommand(const QStringList & /* options */, const QStringList &args)
{
m_mainWindow->openFiles(args, true);
m_mainWindow->openFiles(args, ICore::SwitchMode);
m_mainWindow->activateWindow();
}