Bug #12068 Query area doesn't highlight proper text when pressing "shift-up"
Submitted: 20 Jul 2005 18:41 Modified: 26 Sep 2005 15:12
Reporter: Marc Hodgins (Candidate Quality Contributor) Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.1.13 OS:Windows (Windows XP)
Assigned to: Mike Lischke CPU Architecture:Any

[20 Jul 2005 18:41] Marc Hodgins
Description:
When starting the cursor at the end of a line (other than the first line) on a query that has been broken onto multiple lines, and then holding down the SHIFT key and pressing the UP arrow, standard behavior should be that it would highlight the entire line on which we started on before pressing SHIFT-UP.

Instead, the highlighted postion seems to randomly start somewhere other than at the end of the starting line - part of the line is not selected.

How to repeat:
Type the following query into the SQL query area (note, it must be broken onto three lines as shown:)

SELECT column1,column2,column3,column4 FROM sometable
WHERE
column1 IN (SELECT a.col1 FROM anothertable a WHERE a.col2=1)

Place the cursor at the end of the third line.  Hold down the SHIFT key and then press the UP arrow.  In this case, the highlighted area begins at the "m" in the word column -- thereby only highlighting 5 letters ("colum")!  It should have highligted the entire line third line.
[26 Sep 2005 15:12] Mike Lischke
Cannot reproduce this problem. Probably already resolved.