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
This is merely adding a comment to inform future maintainers that
applications rely on these event names being kept stable. This is a
necessary precaution before other applications use this event.
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 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