Bug 282323

Summary: Search in VI mode screwed up with code folding
Product: [Applications] kate Reporter: newhanoian
Component: Vi Input ModeAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: christoph, ehamberg, michal.humpula, svatoslav1
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description newhanoian 2011-09-19 06:32:42 UTC
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.
Comment 1 Kuzmich Svyatoslav 2012-03-18 11:41:12 UTC
I Cannot reproduce.
Comment 2 Christoph Cullmann 2012-11-02 20:27:40 UTC
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.
Comment 3 Michal Humpula 2013-12-01 15:49:26 UTC
Closing. If you are still experiencing this bug, please consider reopening with additional info.