diff options
author | Petar Perisin <petar.perisin@gmail.com> | 2012-11-01 03:43:28 +0100 |
---|---|---|
committer | David Schulz <david.schulz@digia.com> | 2013-01-11 12:48:44 +0100 |
commit | 39e9c5ef20df0b75eb8b5a1b27af609fa7ff20e3 (patch) | |
tree | 7d5fe369677aa4b2f2360ec3c359ecb7a346640f /src/plugins/texteditor/displaysettings.h | |
parent | c0e7b65db3dafcd6e50756133b39b31701903494 (diff) |
Editor: Allow to open links in a new split.
This changes current behavior while opening links. Link is now opened in
next split by default. If you use CTRL+Click to open links, it will also
open in next split. However, by using CTRL+ALT+click it will open in
current split.
There are two new checkboxes in Tools/Options/Text Editor/Display:
- "Open Links in New Split" - if it is checked, links will not be opened
in current split. However, if document with link is already opened, it
will be used to open the split
- "Force open links in next split" - Links will always open in next
split, even if their document is already opened somewhere else.
Task-number: QTCREATORBUG-8117
Change-Id: Ib99075b55d9e9683ed2c2386767227457de0a3fc
Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/plugins/texteditor/displaysettings.h')
-rw-r--r-- | src/plugins/texteditor/displaysettings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/texteditor/displaysettings.h b/src/plugins/texteditor/displaysettings.h index c64c63f3abf..61e6df3ec7a 100644 --- a/src/plugins/texteditor/displaysettings.h +++ b/src/plugins/texteditor/displaysettings.h @@ -59,6 +59,8 @@ public: bool m_markTextChanges; bool m_autoFoldFirstComment; bool m_centerCursorOnScroll; + bool m_openLinksInNextSplit; + bool m_forceOpenLinksInNextSplit; bool equals(const DisplaySettings &ds) const; }; |