Created attachment 139004 [details] Serach and Replace results SUMMARY The search results hides information about the found line under ellipsis (...) even though there's plenty of space on the screen to show more. STEPS TO REPRODUCE 1. Open a file with longish lines 2. Search for a term in "Search and Replace" OBSERVED RESULT The shown result lines use ellipsis and shorten the text too much. EXPECTED RESULT Use the space that's available on the screen. The problem is captured in attached screen shot.
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/552
Git commit f39ee9991a8ba86a3302c6db5db040b8390250b3 by Christoph Cullmann, on behalf of Waqar Ahmed. Committed on 10/01/2022 at 21:20. Pushed by cullmann into branch 'master'. Search: Utilize context lengths more efficiently Sometimes we have a lot of extra space available that we can use because pre or post context length is small. In such cases, if one is smaller increase the other. M +39 -0 addons/search/MatchModel.h M +2 -2 addons/search/SearchDiskFiles.cpp M +2 -2 addons/search/search_open_files.cpp https://invent.kde.org/utilities/kate/commit/f39ee9991a8ba86a3302c6db5db040b8390250b3