forked from qt-creator/qt-creator
Fix follow symbol in next split, and simplify code
Follow symbol in next split broke with fd9b2af921
because the flag was no longer handled through EditorManager::openEditorAt
Also remove the flag NoNewSplits which is no longer used, and simplify
how links are opened from the C++ editor.
Change-Id: I845cc3a0a43d82b79d5c46a273232b69fd6e3ea9
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -580,10 +580,9 @@ protected:
|
||||
bool inNextSplit = false);
|
||||
|
||||
/*!
|
||||
Reimplement this function if you want to customize the way a link is
|
||||
opened. Returns whether the link was opened successfully.
|
||||
Returns whether the link was opened successfully.
|
||||
*/
|
||||
virtual bool openLink(const Link &link, bool inNextSplit = false);
|
||||
bool openLink(const Link &link, bool inNextSplit = false);
|
||||
|
||||
/*!
|
||||
Reimplement this function to change the default replacement text.
|
||||
|
||||
Reference in New Issue
Block a user