Summary: | Replace in a selected text does not work well after the first match by the button Next | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-ktexteditor | Reporter: | dalves31 |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cullmann, kde, rjvbertin |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/ktexteditor/commit/ebe04f38d868503fdb9a2061665159768a5479b2 | Version Fixed In: | 5.82.0 |
Description
dalves31
2013-11-10 13:20:36 UTC
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone! Dear Bug Submitter, This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand. Thank you for helping us make KDE software even better for everyone! Still seen in current master. This looks like a KTextEditor bug to me. I can reproduce the issue in Kate. 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 *** Bug 413182 has been marked as a duplicate of this bug. *** |