From 6e011678b473a3911958fff91f23770e9be7c0dd Mon Sep 17 00:00:00 2001 From: unknown <81806010+marsej@users.noreply.github.com> Date: Sat, 11 Dec 2021 06:15:53 +0200 Subject: [PATCH] fix whitespace --- IDE/src/ui/SourceEditWidgetContent.bf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IDE/src/ui/SourceEditWidgetContent.bf b/IDE/src/ui/SourceEditWidgetContent.bf index 4f66ffbd..a3d94bd9 100644 --- a/IDE/src/ui/SourceEditWidgetContent.bf +++ b/IDE/src/ui/SourceEditWidgetContent.bf @@ -2295,7 +2295,7 @@ namespace IDE.ui i++; } } - } + } mSelection = EditSelection(minPos, lastCharPos); } int q = 0; @@ -2355,7 +2355,7 @@ namespace IDE.ui } for (int i = firstCharPos + 1; i < maxPos + q; i++) - { + { CursorTextPos = i; // needed to add i < maxPos + q; for this to work with InsertAtCursor InsertAtCursor("//"); q++; q++; @@ -2365,7 +2365,7 @@ namespace IDE.ui } } mSelection = EditSelection(minPos, maxPos + q); - } + } if (undoBatchStart != null) mData.mUndoManager.Add(undoBatchStart.mBatchEnd);