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

List:       kdevelop-bugs
Subject:    [Bug 298793] New: Simple snippet replaces more text than has been selected
From:       Romek <roman.konieczny () gmail ! com>
Date:       2012-04-25 9:35:21
Message-ID: bug-298793-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

            Bug ID: 298793
          Severity: normal
           Version: unspecified
          Priority: NOR
          Assignee: kdevelop-bugs@kdevelop.org
           Summary: Simple snippet replaces more text than has been
                    selected
    Classification: Unclassified
                OS: Linux
          Reporter: roman.konieczny@gmail.com
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: snippet
           Product: kdevplatform

I have very simple snippet:

%{selection}

When I use it on more than one selected line it replaces more than have been
selected.
E.g. for text like following: 
1
2
3
4
5

running above snippet on selected lines 2 and 3 will result:
1
2
3
5

It means, line 4 has been cut.

Reproducible: Always

Steps to Reproduce:
1. Make simple snippet
2. Select a text
3. Run a snippet
Actual Results:  
Removed more text than inserted.

Expected Results:  
This snippet should result in same text as before running snippet.

It works ok for one line selection.

-- 
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