Bug 5325 - Cursor jump to end of line
Summary: Cursor jump to end of line
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-05-25 08:17 UTC by Gary____
Modified: 2012-10-11 01:58 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Gary____ 2012-05-25 08:17:31 UTC
Cursor has a tendancy to jump to the end of line when the start of middle of the line was clicked in source editor.
3.2 Windows
Comment 1 Mikayla Hutchinson [MSFT] 2012-05-25 11:45:00 UTC
Is it a blank line?
Comment 2 Gary____ 2012-05-25 11:48:53 UTC
No a line of code.
Comment 3 Mike Krüger 2012-05-25 11:49:35 UTC
C# code ?
Comment 4 Gary____ 2012-05-25 11:50:27 UTC
Yes
Comment 5 Mike Krüger 2012-05-25 12:22:03 UTC
Which windows version. I can't repro any unusual behaviour on my windows 7 :(
Comment 6 Gary____ 2012-05-25 12:44:31 UTC
3.0.2 on Windows 7

It happens intermittently but noticeably and annoyingly heh. Maybe Try this

Paste the following lines of code into the editor, each taking one line so the variable names are lined up. Notice the same name is used each time? Well use the mouse button to quickly place the cursor at the end of each variable name and append 1,2,3,4,5,6 to the names respectively. I got as far as cmie3 before the cursor jumped to the end of the line. The second time I tried it it actually jumps to the end of line 2 even though i clicked on line 3.

CodeMethodInvokeExpression cmie = ((CodeMethodInvokeExpression)((CodeMethodReturnStatement)cmp.GetStatements[0]).Expression);
			CodeMethodInvokeExpression cmie = ((CodeMethodInvokeExpression)((CodeMethodReturnStatement)cmp.GetStatements[0]).Expression);
			CodeMethodInvokeExpression cmie = ((CodeMethodInvokeExpression)((CodeMethodReturnStatement)cmp.GetStatements[0]).Expression);
			CodeMethodInvokeExpression cmie = ((CodeMethodInvokeExpression)((CodeMethodReturnStatement)cmp.GetStatements[0]).Expression);
			CodeMethodInvokeExpression cmie = ((CodeMethodInvokeExpression)((CodeMethodReturnStatement)cmp.GetStatements[0]).Expression);
			CodeMethodInvokeExpression cmie = ((CodeMethodInvokeExpression)((CodeMethodReturnStatement)cmp.GetStatements[0]).Expression);
Comment 7 Mike Krüger 2012-06-29 06:00:42 UTC
Can't repro it -can you provide a screencast ? I do something wrong.
Comment 8 Mike Krüger 2012-10-11 01:58:59 UTC
got fixed