Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit f7a28fa

Browse files
committed
fix variable name spelling
1 parent f82d042 commit f7a28fa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

UI/Components/EditorElement/EditorElement.xaml.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public partial class EditorElement : UserControl
4545
private bool isBlock;
4646
private double LineHeight;
4747
public new LayoutDocument Parent;
48-
private bool SelectionIsHighlited;
48+
private bool SelectionIsHighlighted;
4949
private bool WantFoldingUpdate;
5050
public bool IsTemplateEditor = false;
5151
private bool Closed = false;
@@ -304,28 +304,28 @@ private void RegularyTimer_Elapsed(object sender, ElapsedEventArgs e)
304304
{
305305
colorizeSelection.SelectionString = selectionString;
306306
colorizeSelection.HighlightSelection = true;
307-
SelectionIsHighlited = true;
307+
SelectionIsHighlighted = true;
308308
editor.TextArea.TextView.Redraw();
309309
}
310310
else
311311
{
312312
colorizeSelection.HighlightSelection = false;
313313
colorizeSelection.SelectionString = string.Empty;
314-
if (SelectionIsHighlited)
314+
if (SelectionIsHighlighted)
315315
{
316316
editor.TextArea.TextView.Redraw();
317-
SelectionIsHighlited = false;
317+
SelectionIsHighlighted = false;
318318
}
319319
}
320320
}
321321
else
322322
{
323323
colorizeSelection.HighlightSelection = false;
324324
colorizeSelection.SelectionString = string.Empty;
325-
if (SelectionIsHighlited)
325+
if (SelectionIsHighlighted)
326326
{
327327
editor.TextArea.TextView.Redraw();
328-
SelectionIsHighlited = false;
328+
SelectionIsHighlighted = false;
329329
}
330330
}
331331
});

0 commit comments

Comments
 (0)