[Bug 253191] New: bug in block selection mode and replacement in Kate

Alessandro Ghersi alessandro-ghersi at kubuntu.org
Mon Oct 4 01:17:33 BST 2010


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

           Summary: bug in block selection mode and replacement in Kate
           Product: kde
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: alessandro-ghersi at kubuntu.org


Version:           unspecified (using KDE 4.3.2) 
OS:                Linux

Bug reported here:
https://bugs.launchpad.net/ubuntu/+source/kdesdk/+bug/588449

Kate 3.3.2 (KDE 4..3.2)
Kubuntu karmic koala
Description: Ubuntu 9.10
Release: 9.10
kate:
  Installed: 4:4.3.2-0ubuntu1

The bug happens when I do block selection (CTRL+SHIFT+B) and replacement in
Kate:

I select a column that I want to replace, I set the "Selection only" option and
click on "Replace All" (if I use the simple "Replace" nothing happens, the bug
may rather be this one), and then it does the replacement.

The column is correctly replaced, but the problem is that any occurrence of the
item to be replaced in a further column (that should stay unchanged) will also
be replaced. It's annoying, since I use extensively this feature...

An example: I want to change the first column of integer from "1" to "2"

# ----------
# Start point
aa 1 2
ab 1 3
ac 1 1
ad 1 1
ae 1 4
# ----------

The expected result is
# ----------
# expected
aa 2 2
ab 2 3
ac 2 1
ad 2 1
ae 2 4
# ----------

But the resulting block replacement is
# ----------
# actual block replacement
aa 2 2
ab 2 3
ac 2 2
ad 2 2
ae 2 4
# ----------

Note that the occurrence of "1" in the third column has also changed to "2",
what is not intended.

Hope you can improve this! BTW is Kate still developed or the project is
stopped?

Best regards,

           Anastaze

ProblemType: Bug
Architecture: amd64
Date: Tue Jun 1 21:19:15 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/kate
NonfreeKernelModules: nvidia
Package: kate 4:4.3.2-0ubuntu1
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 LANGUAGE=
ProcVersionSignature: Ubuntu 2.6.31-21.59-generic
SourcePackage: kdesdk
Uname: Linux 2.6.31-21-generic x86_64

Reproducible: Didn't try

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list