Skip to content

Commit

Permalink
Fix StateStack.Reset() does not reset anchor position
Browse files Browse the repository at this point in the history
  • Loading branch information
aikawayataro committed Aug 21, 2024
1 parent a54cfa2 commit 2bcc955
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TextMateSharp/Grammar/StateStack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 103,7 @@ public void Reset()
while (el != null)
{
el._enterPos = -1;
el._anchorPos = -1;
el = el.Parent;
}
}
Expand Down

0 comments on commit 2bcc955

Please sign in to comment.