| Summary: | Kate (apparently) does not account for code folder when searching with '/' in vi-mode | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Erik Andersen (Azendale) <erik.b.andersen+kdebugs> |
| Component: | Vi Input Mode | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 15.12 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/ktexteditor/commit/dd7fd88eb5084fecd08626e0e82b5007dac50eba | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Screencapture of how to reproduce the bug | ||
|
Description
Erik Andersen (Azendale)
2017-02-26 01:10:46 UTC
Created attachment 104225 [details]
Screencapture of how to reproduce the bug
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/53 Git commit dd7fd88eb5084fecd08626e0e82b5007dac50eba by Christoph Cullmann, on behalf of Jan Paul Batrina. Committed on 02/01/2021 at 14:11. Pushed by cullmann into branch 'master'. [Vimode]Fix search inside fold ranges Jumping to search matches in vimode (n/N) are implemented as motions and they are handled by NormalViMode::handleKeyPress which excludes code folds when jumping to lines. This works fine for most motions (e.g. jkG should skip folds to be consistent with Normal Kate mode), but introduces problems when matching searches as the cursor will be placed in position without the range being unfolded. M +12 -7 src/vimode/modes/normalvimode.cpp https://invent.kde.org/frameworks/ktexteditor/commit/dd7fd88eb5084fecd08626e0e82b5007dac50eba |