Version: SVN OS: Linux I'm using kate compiled from master branch on Linux Mint Debian Edition (GNOME). Code folding makes searching in VI mode jump to wrong places. This problem does not appear in normal mode. Reproducible: Didn't try Steps to Reproduce: Create following example: 01 #!/usr/bin/env python 02 03 OK = 200 04 05 def foo(): 06 pass 07 08 if (OK == 200): 09 print "GOOD!" 10 else : 11 print "OOPS!" 12 Switch to VI mode. Do the search with keyword OK. It works. Fold the function foo, do the search again, the cursor will jump to wrong places. Actual Results: cursor jump to wrong places. Expected Results: cursor jump to right places.
I Cannot reproduce.
If Svyatoslav can't reproduce, please give more hints how to do so or please check if ok in KDE 4.9 or kate.git master. Sorry for any inconveniences.
Closing. If you are still experiencing this bug, please consider reopening with additional info.