We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7456734 commit 6ed9afaCopy full SHA for 6ed9afa
Sources/CodeEditTextView/TextView/TextView+Delete.swift
@@ -60,6 +60,7 @@ extension TextView {
60
guard extendedRange.location >= 0 else { continue }
61
textSelection.range.formUnion(extendedRange)
62
}
63
+ selectionManager.textSelections.sort(by: { $0.range.location < $1.range.location })
64
KillRing.shared.kill(
65
strings: selectionManager.textSelections.map(\.range).compactMap({ textStorage.substring(from: $0) })
66
)
0 commit comments