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

List:       kdevelop-bugs
Subject:    [Bug 266710] New: Pasting when something is selected works incorrectly
From:       Jakub Schmidtke <sjakub () gmail ! com>
Date:       2011-02-20 2:44:34
Message-ID: bug-266710-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: Pasting when something is selected works incorrectly
           Product: kdevelop
           Version: 4.2.0
          Platform: Archlinux Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: all editors
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: sjakub@gmail.com


Version:           4.2.0 (using KDE 4.6.0) 
OS:                Linux

When I paste content of the clipboard and I have some text selected starting
not at the beginning of the line and ending in the same column in the next line
(one or more) the result is messed up.

Reproducible: Always

Steps to Reproduce:
Copy "3" to the clipboard (just the number 3)
In Kdevelop: File->New
Enter two lines of text:
 1
 2
(each of those lines has a single space at the beginning - so both lines have 2
characters)
Using the mouse select text starting just before '1' (so between the first
space and '1'), and ending just before '2' (so between the second space in the
file and '2') - so when the cursor is positioned just before '1' hold shift and
press down arrow.
Press Ctrl-V.
Instead of getting ' 32' (pasting 3 before 2 and after the first space) it is
'23'.
In general entering text or pasting something with different configurations of
the number of spaces in front and selection gives weird results - characters in
the wrong order, or spaces in wrong places.

This is not a critical error, but is extremely annoying...


Actual Results:  
23


Expected Results:  
32

OS: Linux (x86_64) release 2.6.37-ARCH
Compiler: gcc

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

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

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