Bug #13827 return on indented lines causes cursor alignment problems
Submitted: 7 Oct 2005 4:12 Modified: 1 Nov 2005 14:28
Reporter: Mike Palmer Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.1.15 OS:Windows (Windows XP)
Assigned to: Mike Lischke CPU Architecture:Any

[7 Oct 2005 4:12] Mike Palmer
Description:
Hitting return on an indented line causes the text to left align but the cursor aligns to the previous lines indention as it should.

How to repeat:
Copy this into the query window
SELECT person, chanid, starttime, role FROM credits

before person hit <enter> and then <tab> so you have this
SELECT
  person, chanid, starttime, role FROM credits

Now put your cursor in front of chanid and hit <enter> and you should have this
SELECT
  person, 
chanid, starttime, role FROM credits

Your cursor should be between "ch" and "anid". This is the correct positions for where the text should have been left aligned. It makes it difficult to format the query to something like this.

SELECT
  person, 
  chanid, 
  starttime, 
  role 
FROM credits
[7 Oct 2005 7:20] Valeriy Kravchuk
Thank you for a bug report. Verified just as described.
[7 Oct 2005 15:01] 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
[18 Oct 2005 17:17] Mike Palmer
This issue still occours in 1.1.16
[19 Oct 2005 10:26] Mike Lischke
I'm sorry, the necessary fix must have been ommitted in the latest build. This should be really fixed.

Btw: when you find a bug not fixed then please do not only add a comment to the bug entry but also reopen it. Otherwise it does not appear as something still to solve and is likely to get ignored.
[24 Oct 2005 15:50] Mike Palmer
This bug still exists in 1.1.17
[25 Oct 2005 7:41] Mike Lischke
Hmm, you should be able to reopen the bug. If you can't I'd say it's a bug. I'll talk with the web team.
[1 Nov 2005 12:10] Dominic Clifton
i confirm this happens for me too (in 1.1.17) and it's really annoying as I have to edit large multi-join queries on a regular basis, please fix!
[1 Nov 2005 14:28] 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