Skip to content

Commit

Permalink
Do not process lines again and again when something goes wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
danipen committed Mar 4, 2022
1 parent 919cfb3 commit 432d3dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TextMateSharp/Model/TMModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ public int UpdateTokensInRange(ModelTokensChangedEventBuilder eventBuilder, int
catch (Exception e)
{
System.Diagnostics.Debug.WriteLine(e.Message);
lineIndex++;
continue;
}

Expand Down

0 comments on commit 432d3dc

Please sign in to comment.