Bug 2849 - When opening editor, it does not center the caret
Summary: When opening editor, it does not center the caret
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: Trunk
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2012-01-11 19:03 UTC by Mikayla Hutchinson [MSFT]
Modified: 2012-01-24 16:11 UTC (History)
1 user (show)

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:

Description Mikayla Hutchinson [MSFT] 2012-01-11 19:03:18 UTC
When opening the text editor, it correctly sets the caret to then requested position, for example when using go-to-definition. However, it doesn't not correctly center the caret. It usually seems to be a couple of lines offcreen.
Comment 1 Mike Krüger 2012-01-12 04:47:57 UTC
One side effect of the folding change I suppose ?
Comment 2 Mikayla Hutchinson [MSFT] 2012-01-12 17:20:50 UTC
Dunno. The position is wrong even before it updates the folding.
Comment 3 Mike Krüger 2012-01-17 02:28:58 UTC
Works in 2.8.5 - it's the update.
Comment 4 Mikayla Hutchinson [MSFT] 2012-01-17 14:56:19 UTC
The position is wrong even BEFORE the folding updates.
Comment 5 Jeffrey Stedfast 2012-01-24 16:11:00 UTC
I think I fixed this on Friday last week.

commit 801caef3b47d88cbf8f5a0009d50f294b3cccf4b