YamlDotNet.Editor
YamlDotNet.Editor copied to clipboard
System.ArgumentOutOfRangeException
Just installed 1.6.1 today. Was editing a new YAML document in Visual Studio 2013 with Update 4. Entered about 42 lines. Cannot include lines, but can say it had one key containing 6 list items each having six normal keys with string values. Nothing looked complicated or edge-case like. Went to end of document to add new line. Got popup error (below) that suggested I look in this: C:\Users\ME\AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml
Found this error at bottom of activity log:
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: span at Microsoft.VisualStudio.Text.SnapshotSpan..ctor(ITextSnapshot snapshot, Span span) at YamlDotNetEditor.ErrorTagger.CreateErrorTag(SnapshotSpan span, Token token, String type, String message) at YamlDotNetEditor.ErrorTagger.<GetTags>d__2.MoveNext() at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<GetTagsForBuffer>d__5.MoveNext()
I could ignore the error and continue.