[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 235862] New: Range operations in vi-input mode don't work
From:       Matthijs <matthijstijink () gmail ! com>
Date:       2010-04-30 22:31:03
Message-ID: bug-235862-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=235862

           Summary: Range operations in vi-input mode don't work
           Product: kate
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Vi Input Mode
        AssignedTo: kwrite-devel@kde.org
        ReportedBy: matthijstijink@gmail.com


Version:           3.4.2 (using 4.4.2 (KDE 4.4.2), Arch Linux)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.33-ARCH

Ranges don't work correctly for at least the substitute command:

An example:
"try

also" (Couldn't think of anything better)

The command ->  ":/r/,/o/s/^/ha/"

Expected result:
"hatry
ha
haalso"

But kate says the command does not exist.

Range commands using . (implemented for a previous bug) don't work correctly
either:

Example:
"much
much
much"

The command -> "3:s/much/try/" or ".,.+2s/much/try/"

Expected result:
"try
try
try"

Result:
"much
much
try"

The range seems not to be fully followed. I have had cases where I requested
five lines, but kate ended up doing replacements on over 50 lines.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic