fsprojects-archive / zzarchive-VisualFSharpPowerTools

[ARCHIVED] Power commands for F# in Visual Studio
http://fsprojects.github.io/VisualFSharpPowerTools/
Apache License 2.0
310 stars 77 forks source link

Depth colorizer throws exception #1466

Closed Muhomorik closed 7 years ago

Muhomorik commented 8 years ago

Description

Editor sometimes throws exception. deptherror

Log file includes this error:

712 Error Editor or Editor Extension System.IndexOutOfRangeException: Index was outside the bounds of the array. at Microsoft.VisualStudio.FSharp.LanguageService.FSharpColorizer.ColorizeLine(Int32 line, Int32 _length, IntPtr _ptrLineText, Int32 lastColorState, UInt32[] attrs) at Microsoft.VisualStudio.Editor.Implementation.LanguageServiceClassificationTagger.ClassifyLine(Int32 lineNo) at Microsoft.VisualStudio.Editor.Implementation.LanguageServiceClassificationTagger.GetTags(NormalizedSnapshotSpanCollection spans) at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<GetTagsForBuffer>d__38.MoveNext()

Repro steps

Couldn't reproduce.

Related information

Microsoft Visual Studio Community 2015 Version 14.0.25425.01 Update 3 Microsoft .NET Framework Version 4.6.01586 Visual F# 2015 00322-20000-00000-AA128 Microsoft Visual F# 2015 Visual F# Power Tools 2.5.0

vasily-kirichenko commented 7 years ago

Use VS 2017, where Guidelines are already implemented.