Skip to content

Commit 292e1a1

Browse files
committed
Fix formatting
1 parent 8a4962c commit 292e1a1

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Terminal.Gui/Views/TextView.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4465,12 +4465,12 @@ private bool DeleteTextForwards ()
44654465
}
44664466
else
44674467
{
4468-
_historyText.Add ([ [.. currentLine]], CursorPosition);
4468+
_historyText.Add ([[.. currentLine]], CursorPosition);
44694469

44704470
currentLine.RemoveAt (CurrentColumn);
44714471

44724472
_historyText.Add (
4473-
[ [.. currentLine]],
4473+
[[.. currentLine]],
44744474
CursorPosition,
44754475
HistoryText.LineStatus.Replaced
44764476
);
@@ -5057,7 +5057,7 @@ private void KillToEndOfLine ()
50575057
}
50585058

50595059
_historyText.Add (
5060-
[ [.. GetCurrentLine ()]],
5060+
[[.. GetCurrentLine ()]],
50615061
CursorPosition,
50625062
HistoryText.LineStatus.Replaced
50635063
);
@@ -5097,7 +5097,7 @@ private void KillToLeftStart ()
50975097
return;
50985098
}
50995099

5100-
_historyText.Add ([ [.. currentLine]], CursorPosition);
5100+
_historyText.Add ([[.. currentLine]], CursorPosition);
51015101

51025102
if (currentLine.Count == 0)
51035103
{
@@ -5164,7 +5164,7 @@ private void KillToLeftStart ()
51645164
}
51655165

51665166
_historyText.Add (
5167-
[ [.. GetCurrentLine ()]],
5167+
[[.. GetCurrentLine ()]],
51685168
CursorPosition,
51695169
HistoryText.LineStatus.Replaced
51705170
);
@@ -5188,14 +5188,14 @@ private void KillWordBackward ()
51885188

51895189
List<Cell> currentLine = GetCurrentLine ();
51905190

5191-
_historyText.Add ([ [.. GetCurrentLine ()]], CursorPosition);
5191+
_historyText.Add ([[.. GetCurrentLine ()]], CursorPosition);
51925192

51935193
if (CurrentColumn == 0)
51945194
{
51955195
DeleteTextBackwards ();
51965196

51975197
_historyText.ReplaceLast (
5198-
[ [.. GetCurrentLine ()]],
5198+
[[.. GetCurrentLine ()]],
51995199
CursorPosition,
52005200
HistoryText.LineStatus.Replaced
52015201
);
@@ -5234,7 +5234,7 @@ [ [.. GetCurrentLine ()]],
52345234
}
52355235

52365236
_historyText.Add (
5237-
[ [.. GetCurrentLine ()]],
5237+
[[.. GetCurrentLine ()]],
52385238
CursorPosition,
52395239
HistoryText.LineStatus.Replaced
52405240
);
@@ -5256,14 +5256,14 @@ private void KillWordForward ()
52565256

52575257
List<Cell> currentLine = GetCurrentLine ();
52585258

5259-
_historyText.Add ([ [.. GetCurrentLine ()]], CursorPosition);
5259+
_historyText.Add ([[.. GetCurrentLine ()]], CursorPosition);
52605260

52615261
if (currentLine.Count == 0 || CurrentColumn == currentLine.Count)
52625262
{
52635263
DeleteTextForwards ();
52645264

52655265
_historyText.ReplaceLast (
5266-
[ [.. GetCurrentLine ()]],
5266+
[[.. GetCurrentLine ()]],
52675267
CursorPosition,
52685268
HistoryText.LineStatus.Replaced
52695269
);
@@ -5293,7 +5293,7 @@ [ [.. GetCurrentLine ()]],
52935293
}
52945294

52955295
_historyText.Add (
5296-
[ [.. GetCurrentLine ()]],
5296+
[[.. GetCurrentLine ()]],
52975297
CursorPosition,
52985298
HistoryText.LineStatus.Replaced
52995299
);

0 commit comments

Comments
 (0)