Skip to content

Commit 924d86f

Browse files
Small update
1 parent 32a7756 commit 924d86f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CodeEditSourceEditor/Extensions/TextView+/TextView+TextFormation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ extension TextView: TextInterface {
4646
textStorage.beginEditing()
4747

4848
layoutManager.willReplaceCharactersInRange(range: mutation.range, with: mutation.string)
49-
// _undoManager?.registerMutation(mutation)
49+
_undoManager?.registerMutation(mutation)
5050
textStorage.replaceCharacters(in: mutation.range, with: mutation.string)
5151
selectionManager.didReplaceCharacters(
5252
in: mutation.range,

0 commit comments

Comments
 (0)