<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>182508</bug_id>
          
          <creation_ts>2009-01-30 23:22:52 +0000</creation_ts>
          <short_desc>search &amp; replace doesn&apos;t work with vi input mode</short_desc>
          <delta_ts>2014-01-19 10:21:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kate</product>
          <component>Vi Input Mode</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gabe Yoder">gabe.yoder</reporter>
          <assigned_to name="KWrite Developers">kwrite-bugs-null</assigned_to>
          <cc>christoph</cc>
    
    <cc>douglasjanderson</cc>
    
    <cc>ehamberg</cc>
    
    <cc>kdedevel</cc>
    
    <cc>michal.humpula</cc>
    
    <cc>null</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>5.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>708229</commentid>
    <comment_count>0</comment_count>
    <who name="Gabe Yoder">gabe.yoder</who>
    <bug_when>2009-01-30 23:22:52 +0000</bug_when>
    <thetext>Version:            (using KDE 4.2.0)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled From Sources

When using the vi input mode, the search &amp; replace dialog does not function correctly.  The &quot;Next&quot; button causes the cursor to always jump to the first occurrence of the search string in the file.  Similarly, the &quot;Previous&quot; button always jumps to the last occurrence.  The &quot;Replace&quot; button doesn&apos;t appear to do anything at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>708231</commentid>
    <comment_count>1</comment_count>
    <who name="Erlend Hamberg">ehamberg</who>
    <bug_when>2009-01-30 23:30:01 +0000</bug_when>
    <thetext>thanks for the report!

i&apos;m able to reproduce this and i&apos;ll have a look at it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1307659</commentid>
    <comment_count>2</comment_count>
    <who name="Simon St James">kdedevel</who>
    <bug_when>2012-10-20 14:22:41 +0000</bug_when>
    <thetext>*** Bug 307608 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1312018</commentid>
    <comment_count>3</comment_count>
    <who name="Christoph Cullmann">christoph</who>
    <bug_when>2012-11-03 12:21:17 +0000</bug_when>
    <thetext>Simon, could you give your patch a new try :=) Seems you are interested in fixing this ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1312022</commentid>
    <comment_count>4</comment_count>
    <who name="Simon St James">kdedevel</who>
    <bug_when>2012-11-03 12:36:56 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Simon, could you give your patch a new try :=) Seems you are interested in
&gt; fixing this ;)

Hi Christoph,

I think I&apos;ll probably end up taking a competely different tack and implementing an (optional) Vi Command Mode that lives in the Vi status  bar, and leaving the Kate Search/ Replace dialog untouched - there&apos;s already quite a lot of Vi mode special cases in there, and even more would need to be required for what I have planned :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1425374</commentid>
    <comment_count>5</comment_count>
    <who name="Michal Humpula">michal.humpula</who>
    <bug_when>2014-01-17 12:57:59 +0000</bug_when>
    <thetext>*** Bug 330071 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1425681</commentid>
    <comment_count>6</comment_count>
    <who name="Michal Humpula">michal.humpula</who>
    <bug_when>2014-01-19 10:21:44 +0000</bug_when>
    <thetext>In general the searchbar works in vi-mode, but there is too much of special case handling involved, that some corner cases breaks. The only way to fix it on kde 4 branch is to add even more special case handling to the searchbar code. So as for kde 4 branch, corner cases wont be fixed. In KF5 the searchbar is completely replaced by KateViEmulatedCommandBar, which doesn&apos;t exhibit the problems. So closing as fixed in 5.0.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>