Skip to content

Commit

Permalink
Merge pull request #350 from FrozenAssassine/fixfor#349
Browse files Browse the repository at this point in the history
This fixes #349
  • Loading branch information
FrozenAssassine authored Dec 30, 2022
2 parents 79fb943 + 013889f commit 26e6bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TextControlBox/TextControlBox.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ private void AddNewLine()
undoRedo.RecordUndoAction(() =>
{
CursorPosition = Selection.Replace(TextSelection, TotalLines, NewLineCharacter, NewLineCharacter);
}, TotalLines, TextSelection, 2, NewLineCharacter);
}, TotalLines, TextSelection, 1, NewLineCharacter);
}

ClearSelection();
Expand Down

0 comments on commit 26e6bde

Please sign in to comment.