diff --git a/Demo/TextView.swift b/Demo/TextView.swift index 7eb51e1b0..7eb190b8a 100644 --- a/Demo/TextView.swift +++ b/Demo/TextView.swift @@ -80,6 +80,7 @@ class Client: NSObject, IMKTextInput { return } textView.insertText(string, replacementRange: replacementRange) + self.replacementRange = nil } }