Select entire line from a shortcut.
Patch by Christian Couder chriscool@tuxfamily.org
BUG: 327395
FIXED-IN: 2.13
(cherry picked from commit 7cf548bea8)
This will allow selectLine() to be called outside of using the Enum::
SelectWholeLine and SelectForwardsFromCursor. If more Enums are added
this code will need adjusted.
CCBUG: 327395
(cherry picked from commit ce55487204)
Use a helper method selectLine() which is most of the
mouseTripleClickEvent(). Also, in preparation for upcoming patch to
allow selectLine per shortcut.
CCBUG: 327395
(cherry picked from commit c5beb59032)
Previously when using an image as the background, the opacity was
ignored. This patch corrects that.
Many thanks for patch to Wolfgang Brehm wolfgang brehm gmail com
BUG: 312843
FIXED-IN: 2.13
(cherry picked from commit 09ca63dbb6)
With flow control enabled, the first line of terminal is hidden with
the message about flow control. This messsage will be dismissed after
10 seconds.
FIXED-IN: 2.13
BUG: 327281
REVIEW: 115607
(cherry picked from commit db8877db55)
Double-clicking on text will highlight text not on the visible screen.
This is the 2nd part of this patch. The first part for triple clicking
highlighting the entire line is already in 2.12.
Thanks to Yichao Yu yyc1992@gmail.com for this big patch.
REVIEW: 111441
BUG: 319260
FIXED-IN: 2.13
(cherry picked from commit 0b69bdcd40)
Allow xterm's bracketed paste mode to work
When enabled by '\e[?2004h', pasted data is surrounded by \e[200~ and
\e[201~. This is mainly for text editors to temporarily switch off
autoindent and line wrapping.
http://invisible-island.net/xterm/ctlseqs/ctlseqs.html
This page have a .vimrc that will trigger this
https://bugzilla.gnome.org/show_bug.cgi?id=605299
Thanks to Egmont Koblinger for patch
BUG: 324946
FEATURE: 4.13
(cherry picked from commit 8082bcd2ef)
This is from rb 111441- however that patch is so big it is difficult
to follow. I'm breaking it up into smaller parts. This commit is
just for findLineStart/End and only for extending the selection.
Thanks to Yichao Yu yyc1992@gmail.com
(cherry picked from commit 8976d35cfd)
- Do not automatically reset the search start line on search hits
This was causing the annoying behavior that if you were to pause while typing
in a search term, and it would actually find a hit, then you would be searching
for the term a second time once you finish typing.
This commit introduces two new behaviors:
1. When you show the search bar, all searching will be done from the first
visible line in the terminal.
2. This start position is only reset when you
advance to the next result, by pressing "next", "previous", or the shortcuts
RETURN or SHIFT-RETURN
- When the view scrolls to a result, it will appear centered.
- When showing the search bar, do not invoke a search, only apply the highlight filters
- Add "search from beginning/end" button
This will scroll to the top/bottom before searching
Ctrl+return is also bound to this action
- Text highlighted by mouse will be set as the current search text when the incremental
search bar is opened
- Add "Search backwards" to search bar options
Button text is swapped according to reverse search switch
(cherry picked from commit aa42a27ef3)
TerminalDisplayAccessible is disabled for Qt5 currently since I don't
have any experience with accessible stuff and it is more complicated
than just changing a few includes
REVIEW: 111937
To build for KF5 pass the option -DQT5_BUILD=ON to CMake
TerminalDisplayAccessible is disabled for Qt5 currently since I don't
have any experience with accessible stuff and it is more complicated
than just changing a few includes
REVIEW: 111937
New feature in 4.11 allows Shift+Click to extend the selection.
However, for programs not interested in mouse (vim, mc, etc) this
causes issues. Fix is to ignore extending selection for those apps.
BUG: 321516
FIXED-IN: 4.11
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
This crash in isSpace() is due to invalid Character; check for valid
array size before grabbing it. No one can reproduce the crash but this
can't hurt hopefully.
CCBUG: 309954
Fixing the wrong behaviour to open two or more "edit dialog" for
one session/tab with the same profile, and the crash with two or
more "edit dialog", one for different session(tabs) with the same profile.
BUG: 311270
REVIEW: 107640
FIXED-IN: 4.11
A few versions ago we added LibKonq to handle drag-n-drop menus. There
are times when this library is not available or the user/distro might
want to disable (cmake option -DWITH_LibKonq=OFF). With this off, any
drag-n-drop will just paste the link.
FIXED-IN: 4.11
REVIEW: 108461
Add ability to press Shift+Click to extend the mouse selection. In
KDE3 there was the menu option to 'Set Selection End' which this mimics.
REVIEW: 107566
FIXED-IN: 4.11
BUG: 123755
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:
Currently there is no way to stop an accidently paste into the terminal.
This patch adds a dialog when 8000+ characters are pasted asking if
the user really wants to do this. At most the user will see this once
as there is a "Don't show again" box.
Previously commit trigger a sysadmin issue.
FEATURE: 162625
REVIEW: 107570
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
The extension committed in bko 285984 (invented by urxvt's author)
allows the terminal to report coordinates beyond 223. However, for
multiple reasons, xterm's author decided to come up with another
extnsion, addressing the same issue and more.
See more info on this bko 304686
An followup to bko 285984, b876f2a3ed
Patch by Egmont Koblinger egmont@gmail.com
FEATURE: 304686
FIXED-IN: 4.10