forked from qt-creator/qt-creator
Allow nested IContexts and use it to give extra editor windows a context
The extra editor windows need to have editor manager context, otherwise shortcuts (like ctrl+tab) do not work in them if e.g. projects mode is active. Doing this via add/removeAdditionalContexts would be non-trivial and error prone, so adding a context to the extra window is more convenient. Since editors themselves already define a context, we need to allow nesting of contexts. Change-Id: I244eca53ebd665fd4d8fe7531e8ff701ed0b40b2 Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -332,9 +332,9 @@
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn void ICore::contextAboutToChange(Core::IContext *context)
|
||||
\fn void ICore::contextAboutToChange(const QList<Core::IContext *> &context)
|
||||
\brief Sent just before a new \a context becomes the current context
|
||||
(meaning that its widget got focus).
|
||||
(meaning that itself or one of its child widgets got focus).
|
||||
*/
|
||||
|
||||
/*!
|
||||
|
Reference in New Issue
Block a user