madskristensen / WebEssentials2013

Visual Studio extension
http://vswebessentials.com
Other
944 stars 251 forks source link

Editor or Editor Extension Error #1883

Open kroe01 opened 9 years ago

kroe01 commented 9 years ago

Getting an intermittent error in VS2013. Information from the log file is below.

  
    969
    
    Error
    Editor or Editor Extension
    System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
   at System.String.Substring(Int32 startIndex, Int32 length)
   at Microsoft.CSS.Core.StringTextProvider.Substring(Int32 start, Int32 length)
   at Microsoft.CSS.Core.TextRange.GetText(ITextProvider textProvider)
   at Microsoft.CSS.Core.ParseItem.get_Text()
   at MadsKristensen.EditorExtensions.Css.DisplayInlineTextViewCreationListener.InitializeCache(StyleSheet stylesheet)
   at MadsKristensen.EditorExtensions.Css.DisplayInlineTextViewCreationListener.SubjectBuffersConnected(IWpfTextView textView, ConnectionReason reason, Collection`1 subjectBuffers)
   at Microsoft.VisualStudio.Text.Editor.Implementation.ConnectionManager.<>c__DisplayClass19.<OnGraphBuffersChanged>b__14()
   at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call)
  

Please contact me directly if you need the entire log. I will try to hold on to it for a while just in case.

ajoylabroo commented 9 years ago

I am getting the same error.