Bug 11993 - Editing JSON file that consists on 1 long line hangs the Xamarin Studio
Summary: Editing JSON file that consists on 1 long line hangs the Xamarin Studio
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: unspecified
Hardware: Macintosh Mac OS
: Low normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2013-04-26 13:05 UTC by Ivan Kirkorau
Modified: 2013-08-22 04:54 UTC (History)
1 user (show)

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

file that hangs the Xamarin Studio (31.48 KB, application/json)
2013-04-26 13:05 UTC, Ivan Kirkorau

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 Ivan Kirkorau 2013-04-26 13:05:35 UTC
Created attachment 3882 [details]
file that hangs the Xamarin Studio

Whenever I open the file (JSON file attached) the text editor "thinks" for a few minutes. then allows me to make an action and hangs again. 

Looks like the problem is because the file is made of 1 very long line.
Comment 1 Mike Krüger 2013-05-03 03:38:09 UTC
Doesn't crash for me - the speed isn't great but I can edit it.

I leave that open, it's an area that needs optimization.
Comment 2 Mike Krüger 2013-08-19 04:17:15 UTC
I think that got fixed as side effect of some changes in the syntax highlighting engine - but I still recommend breaking the long line :)