diff options
author | David Schulz <david.schulz@digia.com> | 2013-02-05 14:14:33 +0100 |
---|---|---|
committer | David Schulz <david.schulz@digia.com> | 2013-02-14 09:46:16 +0100 |
commit | 6ef0cf1a30f1c31d24363fa5ab7a3673f7886126 (patch) | |
tree | 6b988785304e03eb728196a98e37e4462c164fde /src/plugins/texteditor/texteditoractionhandler.h | |
parent | a37770ba3b05c480338d2a1fe08f9677249aeb8f (diff) | |
download | qt-creator-6ef0cf1a30f1c31d24363fa5ab7a3673f7886126.tar.gz |
Editor: Refactor Open Link in Next Split.
Cleanup code and added shortcuts and menu entries for
- open header/source in next split
- follow symbol under cursor in next split
- open declaration/definition in next split
Change-Id: I2c4347749d26669d88b7c2968f30f60710f442b1
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/plugins/texteditor/texteditoractionhandler.h')
-rw-r--r-- | src/plugins/texteditor/texteditoractionhandler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/texteditor/texteditoractionhandler.h b/src/plugins/texteditor/texteditoractionhandler.h index 5d40cd8a58..0a8f510b43 100644 --- a/src/plugins/texteditor/texteditoractionhandler.h +++ b/src/plugins/texteditor/texteditoractionhandler.h @@ -141,6 +141,7 @@ private slots: void indent(); void unindent(); void openLinkUnderCursor(); + void openLinkUnderCursorInNextSplit(); void gotoLineStart(); void gotoLineStartWithSelection(); @@ -213,7 +214,9 @@ private: QAction *m_indentAction; QAction *m_unindentAction; QAction *m_followSymbolAction; + QAction *m_followSymbolInNextSplitAction; QAction *m_jumpToFileAction; + QAction *m_jumpToFileInNextSplitAction; QList<QAction *> m_modifyingActions; uint m_optionalActions; |