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

@@ -32,6 +32,7 @@
#include "core_global.h"
#include "icontext.h"
#include "icore.h"
#include "dialogs/iwizard.h"
#include "eventfilteringmainwindow.h"
@@ -97,7 +98,7 @@ public:
void removeContextObject(IContext *contex);
void resetContext();
void openFiles(const QStringList &fileNames, bool switchMode);
void openFiles(const QStringList &fileNames, ICore::OpenFilesFlags flags);
Core::ActionManager *actionManager() const;
Core::FileManager *fileManager() const;