Skip to content

Commit 432d3dc

Browse files
committed
Do not process lines again and again when something goes wrong
1 parent 919cfb3 commit 432d3dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/TextMateSharp/Model/TMModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ public int UpdateTokensInRange(ModelTokensChangedEventBuilder eventBuilder, int
189189
catch (Exception e)
190190
{
191191
System.Diagnostics.Debug.WriteLine(e.Message);
192+
lineIndex++;
192193
continue;
193194
}
194195

0 commit comments

Comments
 (0)