Instead of keeping track of constants and +1 -1, use a QRect to handle
the terminal margins. There is no GUI for this currently and the
margins are hard-coded to what they are now. Code to center the
terminal is also include (w/o GUI).
This patch comes from review 109891 w/ a few changes from me.
Thanks to Mariusz Glebocki mglb@arccos-1.net
The built-in behavior of Ctrl+<Mouse Wheel> to zoom in/out the terminal
can not be disabled. This patch adds an option to disable this
behavior. (Default to the original behavior).
Original patch by Yichao Yu yyc1992@gmail.com
I made some changes - bugs are mine as usual
REVIEW: 107281
FIXED-IN: 4.11
GUI:
In the ongoing issue with spaces at the end of lines, this allows for
an option to trim the spaces. By default, it is disabled so only
people who need this will be affected.
Many thanks to David Smid <david@smidovi.eu>
CCBUG: 188528
So if someone notices later some Qt header is included in the form
of "#include <Class>" instead of the more common form of "#include
<Module/Class>", do not rush changing it.
REVIEW: 105819
This provides a profile GUI to change the line spacing (0-5). Due to
the Qt4.8/BIDI issues, allowing the user to change the spacing allows
the user to fix any issues w/ the font they are using.
FEATURE: 279490
REVIEW: 105478
FIXED-IN: 4.10
This adds a GUI checkbox per profile to enable/disable requiring the
CTRL key to drag-n-drop text.
The default is to require the CTRL key as before.
Thanks to Scott Kitterman (kde@kitterman.com) for patch.
BUG: 165923
REVIEW: 105423
FIXED-IN: 4.10
Since the menubar and tarbar settings are now global instead of per
profile , those cmdline options are useful to allow users to override
the defautl behavior.
The --hide-menubar and --hide-tabbar options can be used together
to simulate the miminal interface of xterm. I'm not sure whether
--show-menubar and --show-tabbar will be widely used , but add them at
the moment for the sake of completeness.
* support "automatially copy selected text into clipboard"
* mouse middle button can be customized to paste from selectio or
clipboard
The first feature might look like a unnecessary duplicate of the
"synchronize selection and clipboard" feature of Klipper. However, that
klipper feature is generally problematic, while doing it only in Konsole
is generally useful and harmless.
FEATURE: 183490
FIXED-IN: 4.9.0
REVIEW: 103861
DIGEST:
There is a submenu in the context menu for searching selected text using
any of the enabled search provider and opening the result in the default
web browser.
This could be useful for searching compilation failure messages, warning
messages in logfile, etc.
DIGEST:
FEATURE:
FIXED-IN: 4.9.0
REVIEW: 104493
Unfortunately, that commit makes all tabs in the restored Konsole window
show fallback tab until you switch to it.
Cleearly, the way when and how to start a session is messy.
Note: reverting does means calling session->run() explicitly is the
OK way.
This reverts commit c6bb999066.
The old code always set the hardcoded 80x40 size.
Two profile options are added under the "General" group:
* TerminalColumns
* terminalRows
Note: Due to the way KMainWindow works, those profile options may not
work :(. Do not take this commit as something completed.
The received QWidget has already been destroyed, so using dynamic_cast
or qobject_cast does not work.
Another stupid mistake by me !
BUG: 296116
This reverts commit 02ac6dbf4d.
"view" is reused to refer to two different things in ViewMananger:
* one TerminalDisplay(tab/session)
* one ViewContainer(tabbar)
That causes understanding problems for those who are not that familiar
with the code.
Maybe those actions related with "split view" defined in konsoleui.rc
should also be rename to avoid confusion further