Skip to content

Commit

Permalink
Merge pull request #73 from aikawayataro/fix-statestack
Browse files Browse the repository at this point in the history
Fix `StateStack.Reset()` does not reset anchor position
  • Loading branch information
danipen authored Aug 21, 2024
2 parents 7ab4cbb + 2bcc955 commit c063933
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 c063933

Please sign in to comment.