Bug 6422 - Syntax highlighting of aspx file hangs MD
Summary: Syntax highlighting of aspx file hangs MD
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: Trunk
Hardware: PC Mac OS
: High normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
: 6896 7110 ()
Depends on:
Blocks:
 
Reported: 2012-08-06 12:28 UTC by Mikayla Hutchinson [MSFT]
Modified: 2012-09-13 02:17 UTC (History)
3 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 FIXED

Description Mikayla Hutchinson [MSFT] 2012-08-06 12:28:13 UTC
Opening the Views/Home/Index.aspx in a new ASP.NET MVC project hangs MD.

This can be worked around by removing the "attributes" match from the "InTag" rule of AspNetSyntaxMode.xml.

However, AspNetSyntaxMode.xml has not changed in two years, so this looks like a regression in the highlighting engine.
Comment 1 Mike Krüger 2012-08-10 05:48:18 UTC
Seems to work for me:

http://screencast.com/t/eypqKMY5g


Which mono version are you using - maybe it's a regression in the regex engine ?
Comment 2 Mikayla Hutchinson [MSFT] 2012-08-22 12:37:06 UTC
The released 2.10.9.

To repro, just create a new ASP.NET MVC project and open the Views/Home/Index.aspx file.
Comment 3 Mikayla Hutchinson [MSFT] 2012-09-04 16:47:46 UTC
*** Bug 6896 has been marked as a duplicate of this bug. ***
Comment 4 Mike Krüger 2012-09-05 01:44:08 UTC
Tried again today - I got it reproduced. But as you see in the screencast it worked for me a while ago ...

/fixed
Comment 5 Mike Krüger 2012-09-13 02:17:35 UTC
*** Bug 7110 has been marked as a duplicate of this bug. ***