neharob / editra

Automatically exported from code.google.com/p/editra
Other
0 stars 0 forks source link

Column mode "selection" subject to deletion if del/backspace is first key pressed #614

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a new tab
2. Input the following:
foo bar
foo bar
foo bar
3. Enable Column Mode
4. Place the carat next to the first bar
5. Use the cursor key to move down, selecting the column
6. Press del or backspace

What is the expected output? What do you see instead?
Expected:
A single character to be deleted as expected from del/backspace
Actual:
All selected lines are removed.

IMPORTANT!!! Please answer these questions for any and ALL bug reports

What version of the product are you using? On what operating system?
5.99

What method of install was your version installed with (Binary/Source)?
Binary

If from source: What version of python and wxPython are you using?

Please provide any additional information below.

Original issue reported on code.google.com by a.cocka...@gmail.com on 27 Jan 2011 at 2:42

GoogleCodeExporter commented 9 years ago
ref: http://editra.org/forum/viewtopic.php?f=2&t=672

Original comment by CodyPrec...@gmail.com on 27 Jan 2011 at 2:59

GoogleCodeExporter commented 9 years ago
Did some analysis on this issue. It only occurs if the first key after setting 
the column mode is the backspace key. If you have entered some text into the 
columns first and then press backspace it will work fine until the editing of 
that column is completed.

I am throwing the towel in on this for now as I am having difficulty 
understanding the contributed code that handles the column mode 
(src/extern/vert_edit.py). 

Cookie for anyone who wants to fix this otherwise I am going to wait till after 
wxPython2.9.2 is out and will work on a probable re-write using the new and 
improved version of Scintilla. Though will still need to support wxPython 2.8 
for at least another year or more so this module will still be relevant.

Original comment by CodyPrec...@gmail.com on 9 Feb 2011 at 10:57