text-input-pane :completion-function

"John DeSoi (as john at desoi dot dev)" <[email protected]> Wed, 22 Jul 2026 02:45:33 +0000
Newsgroups gmane.lisp.lispworks.general
Message-ID <0100019f87b6d1d5-be7d825e-f254-4150-94fa-a396a22c3a0e-000000@email.amazonses.com>
Is anyone using this option successfully on macOS? I thought it would provide the completion options when the tab key is pressed, but nothing happens.


(defvar *so* *standard-output*)

(defun complete-me (pane string) 
  (declare (ignore pane)) 
  (print string *so*) 
  (list "four" "five"))

(capi:contain (make-instance 'capi:text-input-pane :completion-function 'complete-me :complete-do-action t))


Thanks,

John DeSoi, Ph.D.



_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html