- 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)
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
Previously, the count could be a huge negative number which could
exceed what an int can handle. Also, there's no reason to calculate
this number if it will be negative.
CCBUG: 246484
Fixes selecting text by triple click and scrolling up causes only the
visible contents to be selected.
Thanks to Shlomi Fish (shlomif@iglu.org.il) for research and patch.
BUG: 256353
REVIEW: 103724
FIXED-IN: 4.9
which part of the code the message came from and allows filtering of output
using kdebugdialog
* Remove explicit creation of singleton classes SessionManager,ColorSchemeManager and
KeyboardTranslatorManager and automate it with K_GLOBAL_STATIC.
This ensures that the singleton destructors are called appropriately by KPart clients
when they unload the libkonsolepart library.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=754334
the Screen's screen size when adjusting the position of the window to track
the bottom of the screen.
* Fill the area of the window beyond the end of the screen with blank characters.
* Any attempts to make a selection beyond the end of the screen are treated as if
the mouse was on the last line of the screen.
* Minor formatting fixes for long lines
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=749890
* Add a method in ScreenWindow to set the size of the window (in lines, the number of columns is still ifxed).
* Call this method in TerminalDisplay to set the window size when the widget is resized or when the screen window of a display is initially set.
* Fix ScreenWindow::getImage() and ScreenWindow::getLineProperties() so that they do not attempt to retrieve information about lines beyond the end of the screen.
* Fix ScreenWindow::getLineProperties() to always return result vector of size windowColumns(), though the number of elements copied from the screen may be less.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=749874
Instead a single buffer is created and maintained by ScreenWindow.
* Re-write Screen::getCookedImage() and rename to getImage() to make it possible
to retrieve an image of a section of the screen which is not the same size as
the terminal screen.
* Make various non-mutating Screen methods const
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=749864
KWindowSystem::compositingActive() works without a QApplication instance.
* Make terminal display intercept shortcuts using the Backspace/Home/End keys
( fixes backspace key triggering the 'Go Back' action in Dolphin when
terminal part has the focus )
* Add some plumbing that will be used to handle resizing by the terminal
program.
* Misc. tidy-ups and EBN fixes.
* Update the right part of the terminal display when updating blinking
cursor.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=668460