https://bugs.kde.org/show_bug.cgi?id=327408

Christoph Cullmann <cullm...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/ktexteditor/commit/e
                   |                            |be04f38d868503fdb9a20616651
                   |                            |59768a5479b2

--- Comment #5 from Christoph Cullmann <cullm...@kde.org> ---
Git commit ebe04f38d868503fdb9a2061665159768a5479b2 by Christoph Cullmann, on
behalf of Jan Paul Batrina.
Committed on 08/04/2021 at 19:55.
Pushed by cullmann into branch 'master'.

Fix incremental selection-only search

Since search matches are selected after they are found,
the "Search in selection only" option only works the first time.

This patch saves the initial selection where the search is initiated
and use that for succeeding selection-only searches. The selection
is "forgotten" only after the selection is manually changed or
the "selection only" option is toggled.

M  +18   -2    autotests/src/searchbar_test.cpp
M  +30   -14   src/search/katesearchbar.cpp

https://invent.kde.org/frameworks/ktexteditor/commit/ebe04f38d868503fdb9a2061665159768a5479b2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to