Skip to content

Commit 22015c9

Browse files
author
Kapil Borle
committed
Remove todo comments from ScriptAnalyzer.Fix
1 parent f18ccec commit 22015c9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Engine/ScriptAnalyzer.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1557,7 +1557,6 @@ public EditableText Fix(EditableText text, Range range, out Range updatedRange)
15571557
throw new ArgumentNullException(nameof(text));
15581558
}
15591559

1560-
// todo validate range
15611560
var isRangeNull = range == null;
15621561
if (!isRangeNull && !text.IsValidRange(range))
15631562
{
@@ -1598,8 +1597,6 @@ public EditableText Fix(EditableText text, Range range, out Range updatedRange)
15981597
}
15991598

16001599
previousUnusedCorrections = unusedCorrections;
1601-
1602-
// todo add a TextLines.NumLines property because accessing TextLines.Lines is expensive
16031600
var lineCount = text.LineCount;
16041601
if (!isRangeNull && lineCount != previousLineCount)
16051602
{

0 commit comments

Comments
 (0)