Bug #13981 Unable to delete empty lines using DEL key
Submitted: 12 Oct 2005 20:41 Modified: 18 Oct 2005 9:03
Reporter: Shawn Oster Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.1.15 OS:Windows (XP SP2)
Assigned to: Mike Lischke CPU Architecture:Any

[12 Oct 2005 20:41] Shawn Oster
Description:
Removed a line from my query in the "SQL Query Area" which left an empty line.  Pressed Del key hoping it would bring the next line up one, which it didn't.

How to repeat:
1. enter the following query:

select class_id, c_date, c.name as "name", c_time, mbr_cost, c_cost
from psc_classes
left join psc_courses as c on c.id = course_id
where DATE(c_date) > CURDATE()
order by c_date

2. position cursor on line 4, press Home, press Shift+End to select entire line

3. press Del key, entire line is deleted

4. press Del again... and again... and again... and again.... line 5 never moves up to line 4.

Suggested fix:
If there are no more characters on the current line and Del is pressed then the line underneath should be moved up.
[12 Oct 2005 22:02] Jorge del Conde
Thanks for your bug report.  I was able to reproduce this bug with 1.1.15 by following the how-to-repeat part in the bug report.
[18 Oct 2005 9:03] Mike Lischke
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html