diff --git a/PowerShellEditorTextView.cs b/PowerShellEditorTextView.cs index 4424a07..2b99f65 100644 --- a/PowerShellEditorTextView.cs +++ b/PowerShellEditorTextView.cs @@ -218,12 +218,12 @@ public override void Redraw(Rect bounds) { cols = right - col; } - for (int i = 1; i < cols; i++) + for (int i = 0; i < cols; i++) { if (col + i < right) { ColorToken(colToken, colError, row, col, Selecting && PointInSelection(idxCol, idxRow)); - AddRune(col, row, ' '); + AddRune(col + i, row, ' '); } } tokenCol++;