Skip to content

Commit f28e759

Browse files
Fix Delegate Typo (#294)
1 parent 6b2c945 commit f28e759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CodeEditSourceEditor/Controller/TextViewController+TextViewDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ extension TextViewController: TextViewDelegate {
1818
}
1919
}
2020

21-
public func textView(_ textView: TextView, didReplaceContentsIn range: NSRange, with: String) {
21+
public func textView(_ textView: TextView, didReplaceContentsIn range: NSRange, with string: String) {
2222
gutterView.needsDisplay = true
2323
for coordinator in self.textCoordinators.values() {
2424
if let coordinator = coordinator as? TextViewDelegate {

0 commit comments

Comments
 (0)