This project is read-only.
1

Closed

Uncaught ArgumentOutOfRangeException in JSEnhancements.Outlining.TextRegion.TryCreateRegion

description

When I open one of my solutions, I get an ArgumentOutOfRangeException from within JSEnhancments. Visual Studio carries on working, but
 
Relevant part of the ActivityLog.xml file is below; Exception occurs when I open the attached file.
 
<entry>
<record>339</record>
<time>2010/07/27 21:21:10.423</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.&#x000D;&#x000A;Parameter name: index&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Implementation.SimpleStringRebuilder.get_Item(Int32 index)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Implementation.TextSnapshot.get_Item(Int32 position)&#x000D;&#x000A;   at JSEnhancements.Outlining.TextRegion.TryCreateRegion(SnapshotParser parser)&#x000D;&#x000A;   at JSEnhancements.Outlining.TextRegion.ParseBuffer(SnapshotParser parser, TextRegion parent)&#x000D;&#x000A;   at JSEnhancements.Outlining.JSOutliningTagger.ReParse()&#x000D;&#x000A;   at JSEnhancements.Outlining.JSOutliningTagger..ctor(ITextBuffer buffer)&#x000D;&#x000A;   at JSEnhancements.Outlining.JSOutliningTaggerProvider.&lt;&gt;c__DisplayClass1`1.&lt;CreateTagger&gt;b__0()&#x000D;&#x000A;   at Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Object key, Func`1 creator)&#x000D;&#x000A;   at Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Func`1 creator)&#x000D;&#x000A;   at JSEnhancements.Outlining.JSOutliningTaggerProvider.CreateTagger[T](ITextBuffer buffer)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers(ITextBuffer textBuffer)</description>
</entry>

file attachments

Closed Jul 28, 2010 at 9:07 AM by MadBender
fixed

comments

adeptable wrote Jul 27, 2010 at 10:25 PM

...and here's the full ActivityLog.xml

MadBender wrote Jul 28, 2010 at 9:06 AM

fixed in v 1.2

wrote Jul 28, 2010 at 9:07 AM

adeptable wrote Jul 28, 2010 at 11:11 AM

I can confirm that v1.2 fixes my problem. Thanks - and I'm very impressed with the quick turnaround.

wrote Feb 13, 2013 at 9:08 PM

wrote May 16, 2013 at 4:48 AM