Hi we are getting unhandled exception using RangeBased code outliner from your example:
System.NullReferenceException "Object reference not set to an instance of an object." " at ActiproSoftware.Text.Lexing.Implementation.DynamicLexicalState.Match(ITextBufferReader #o6b)
at ActiproSoftware.Text.Lexing.Implementation.MergableLexerCoordinator.GetNextToken()
at ActiproSoftware.Text.Lexing.Implementation.MergableLexerCoordinator.Parse(TextSnapshotRange snapshotRange, ILexerTarget lexerTarget)
at ActiproSoftware.Text.Lexing.Implementation.MergableLexerBase.Parse(TextSnapshotRange snapshotRange, ILexerTarget parseTarget)
at #rqc.#XYc.GetTokens(ILexer #Yqc, TextSnapshotRange #kzf, Object #hCf, Boolean #x0c, Int32& #xCf)
at ActiproSoftware.Text.Tagging.Implementation.TokenTagger.GetTokens(ILexer lexer, TextSnapshotRange desiredSnapshotRange, Object parseContext, Boolean canUpdateLineContexts, Int32& invalidateThroughOffset)
at ActiproSoftware.Text.Tagging.Implementation.TokenTagger.#N2i.#gaf()
at ActiproSoftware.Text.Tagging.Implementation.TokenTagger.#I2i.#gaf()
at ActiproSoftware.Text.Tagging.TagAggregatorBase`1.#H2i.#gaf()
at ActiproSoftware.Windows.Controls.SyntaxEditor.Implementation.TextViewLineManager.#GCk(#HCk #HCk, #xtk #Z6b)
at ActiproSoftware.Windows.Controls.SyntaxEditor.Implementation.TextViewLineManager.#MCk(#HCk #HCk, TextSnapshotRange #tCk)
at ActiproSoftware.Windows.Controls.SyntaxEditor.Implementation.TextViewLineManager.#VCk(#HCk #HCk, Int32 #fd, Boolean #Dmk, Nullable`1 #2cc, Double #0n, Nullable`1 #WCk)
at ActiproSoftware.Windows.Controls.SyntaxEditor.Implementation.TextViewLineManager.GetViewLine(Int32 #fd, Boolean #Dmk)
at ActiproSoftware.Windows.Controls.SyntaxEditor.Primitives.TextView.GetViewLine(Int32 offset, Boolean hasFarAffinity)
at ActiproSoftware.Windows.Controls.SyntaxEditor.Primitives.TextView.GetViewLine(TextPosition position)
at #V2b.#J3b.get_ViewLine()
at ActiproSoftware.Windows.Controls.SyntaxEditor.Primitives.EditorOutliningMargin.UpdateHighlightSnapshotRange(IHitTestResult hitTestResult)
at ActiproSoftware.Windows.Controls.SyntaxEditor.Primitives.EditorOutliningMargin.OnPointerMoved(Object sender, InputPointerEventArgs e)