When the completions dropdown list of my NSTextView appears, the text is filled in in the NSTextView. How could I avoid that, so that the text view remains empty, or include only the text I've typed?
I can't find the autocomplete property in the documentation.
It looks like you could override -insertCompletion:forPartialWordRange:movement:isFinal:
in a subclass. If the isFinal
flag is NO
, do nothing. If it's YES
, call through to super
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.