diff --git a/src/TextMateSharp/Grammar/StateStack.cs b/src/TextMateSharp/Grammar/StateStack.cs index c229e29..aaa248b 100644 --- a/src/TextMateSharp/Grammar/StateStack.cs +++ b/src/TextMateSharp/Grammar/StateStack.cs @@ -103,6 +103,7 @@ public void Reset() while (el != null) { el._enterPos = -1; + el._anchorPos = -1; el = el.Parent; } }