Bug 1290 - Text editor doesn't go to referenced line in C# code
Summary: Text editor doesn't go to referenced line in C# code
Status: RESOLVED DUPLICATE of bug 1291
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 2.8
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
: 1832 ()
Depends on:
Blocks:
 
Reported: 2011-10-05 20:37 UTC by Ales Suchac
Modified: 2011-11-10 04:45 UTC (History)
2 users (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 DUPLICATE of bug 1291

Description Ales Suchac 2011-10-05 20:37:03 UTC
After build, I got a warning referring to specified line in the code. The particular code file (ordinary .cs file) was not open at the time.

When I double-clicked on the warning in Error List, the text editor opened the code file but did not move the cursor to referenced line.

Only when I clicked on the warning again, the cursor moved to the referenced line which was correctly marked by exclamation mark.

I observed the same behavior when I did right-click on object declared in other unopened file and clicked "Go to declaration". 

The second "Go to declaration" action worked OK, so it seems that the GoTo function works correctly for files already opened in text editor.
Comment 1 Mike Krüger 2011-11-10 04:44:23 UTC
*** Bug 1832 has been marked as a duplicate of this bug. ***
Comment 2 Mike Krüger 2011-11-10 04:45:48 UTC

*** This bug has been marked as a duplicate of bug 1291 ***