Closed futurist closed 7 years ago
@futurist in macOS 10.12 Xcode8.0, I can't reproduce the problem
Don't know why, but will appear every time here
Using building completion popup (F5), there's no any error, but it's weak...
The Swift 3.0 update also have this problem in my mac:
I've moved the popover.contentSize
calculation into a delegate method (popoverWillShow
), and the problem gone here.
@futurist thanks for your effort. Would you mind pulling the requests?
If you using javascript, maybe you can check my lib:
https://github.com/cssobj/cssobj
Welcome to give a star! 😄
When port this lib into
NSTextView
, using Swift 3.0, as below:https://github.com/futurist/cutecmd-mac/blob/4486b868cf057713704566deb304a79609632d30/cutecmd-mac/AutoCompleteTextField.swift
I have a bug reported as below:
This happens when the
self.getCompletionArray
returned a complete different array as before.I've googled and told that it's due to
NSPopover
, but I'm not sure.To reproduce it, download and run the repo, input
s (will popup Safari etc.) Backspace (clear the input) q (this will throw above error)
Xcode 8, macOS 10.11.6
What's going on? help needed for the port into NSTextView