Bug #72063 cursor does not correctly move among lines
Submitted: 17 Mar 2014 18:47 Modified: 26 Aug 2014 20:59
Reporter: mike coutinho Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:6.1.2.11661 build 1316 OS:MacOS
Assigned to: CPU Architecture:Any
Tags: cursor

[17 Mar 2014 18:47] mike coutinho
Description:
When using the query tool to run queries, the cursor does not move from line to line correctly. 

How to repeat:
if your cursor is in the middle of a line, move up or down and it should jump to the end of the line vs. the middle of the line.  Annoying when you are trying to correctly trying to position your cursor and use a keyboard.

Also screen jumps to middle of query window when you execute a query.  If i am at the bottom of a 2000 line query and it jumps, i have to scroll down to the bottom every time I run a query.

Suggested fix:
make work?
[27 Mar 2014 17:16] MySQL Verification Team
Thank you for the bug report.
[26 Aug 2014 20:59] Alfredo Kojima
This doesn't sound right. I've never seen an editor where moving the cursor a line up/down would jump the cursor to the end of the line. In all editors, including Xcode or textedit, the cursor will jump to the same offset from the beginning of the line as you were previously. OTOH if you're in the 20'th character of a line and then jump to a line that's 10chars long, then the cursor will jump to the end of the line. Jumping back to the previous line will go back to char 20.

Please reopen the bug if you think I've misunderstood something.
[26 Aug 2014 21:06] Alfredo Kojima
The 2nd issue you mention is because the editor shrinks in size, not that there's any active scrolling. OTOH I see that it can be annoying, so we'll see if we can *add* scrolling, so that the cursor is still visible after the resultset panel is displayed.