@@ -279,7 +279,7 @@ public void Draw(TextView textView, DrawingContext drawingContext)
279
279
var highlightBG = info . Type == Models . TextDiffLineType . Added ? _presenter . AddedHighlightBrush : _presenter . DeletedHighlightBrush ;
280
280
var processingIdxStart = 0 ;
281
281
var processingIdxEnd = 0 ;
282
- var nextHightlight = 0 ;
282
+ var nextHighlight = 0 ;
283
283
284
284
foreach ( var tl in line . TextLines )
285
285
{
@@ -288,9 +288,9 @@ public void Draw(TextView textView, DrawingContext drawingContext)
288
288
var y = line . GetTextLineVisualYPosition ( tl , VisualYPosition . LineTop ) - textView . VerticalOffset ;
289
289
var h = line . GetTextLineVisualYPosition ( tl , VisualYPosition . LineBottom ) - textView . VerticalOffset - y ;
290
290
291
- while ( nextHightlight < info . Highlights . Count )
291
+ while ( nextHighlight < info . Highlights . Count )
292
292
{
293
- var highlight = info . Highlights [ nextHightlight ] ;
293
+ var highlight = info . Highlights [ nextHighlight ] ;
294
294
if ( highlight . Start >= processingIdxEnd )
295
295
break ;
296
296
@@ -305,7 +305,7 @@ public void Draw(TextView textView, DrawingContext drawingContext)
305
305
if ( highlight . End >= processingIdxEnd )
306
306
break ;
307
307
308
- nextHightlight ++ ;
308
+ nextHighlight ++ ;
309
309
}
310
310
311
311
processingIdxStart = processingIdxEnd ;
0 commit comments