@@ -268,7 +268,7 @@ public void Draw(TextView textView, DrawingContext drawingContext)
268
268
var highlightBG = info . Type == Models . TextDiffLineType . Added ? _presenter . AddedHighlightBrush : _presenter . DeletedHighlightBrush ;
269
269
var processingIdxStart = 0 ;
270
270
var processingIdxEnd = 0 ;
271
- var nextHightlight = 0 ;
271
+ var nextHighlight = 0 ;
272
272
273
273
foreach ( var tl in line . TextLines )
274
274
{
@@ -277,9 +277,9 @@ public void Draw(TextView textView, DrawingContext drawingContext)
277
277
var y = line . GetTextLineVisualYPosition ( tl , VisualYPosition . LineTop ) - textView . VerticalOffset ;
278
278
var h = line . GetTextLineVisualYPosition ( tl , VisualYPosition . LineBottom ) - textView . VerticalOffset - y ;
279
279
280
- while ( nextHightlight < info . Highlights . Count )
280
+ while ( nextHighlight < info . Highlights . Count )
281
281
{
282
- var highlight = info . Highlights [ nextHightlight ] ;
282
+ var highlight = info . Highlights [ nextHighlight ] ;
283
283
if ( highlight . Start >= processingIdxEnd )
284
284
break ;
285
285
@@ -294,7 +294,7 @@ public void Draw(TextView textView, DrawingContext drawingContext)
294
294
if ( highlight . End >= processingIdxEnd )
295
295
break ;
296
296
297
- nextHightlight ++ ;
297
+ nextHighlight ++ ;
298
298
}
299
299
300
300
processingIdxStart = processingIdxEnd ;
0 commit comments