mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
fixed doc look up
This commit is contained in:
parent
bb086f828d
commit
9604c7393b
1 changed files with 15 additions and 18 deletions
|
|
@ -321,25 +321,22 @@ var endRange = ~:*~A.session.doc.indexToPosition(endIndex);
|
||||||
(clog-ace::js-ace obj)
|
(clog-ace::js-ace obj)
|
||||||
(clog-ace::js-ace obj)))))
|
(clog-ace::js-ace obj)))))
|
||||||
(unless (equal s "")
|
(unless (equal s "")
|
||||||
(with-input-from-string (i s)
|
(ignore-errors
|
||||||
(ignore-errors
|
(let* ((p (when (current-control app)
|
||||||
(let* ((p (when (current-control app)
|
(attribute (get-placer (current-control app)) "data-panel-id")))
|
||||||
(attribute (get-placer (current-control app)) "data-panel-id")))
|
(pac (string-upcase (if (eq (current-editor-is-lisp app) t)
|
||||||
(pac (if (eq (current-editor-is-lisp app) t)
|
(if (current-control app)
|
||||||
(if (current-control app)
|
(string-upcase (attribute (attach-as-child (current-control app) p)
|
||||||
(string-upcase (attribute (attach-as-child (current-control app) p)
|
"data-in-package"))
|
||||||
"data-in-package"))
|
package)
|
||||||
package)
|
(current-editor-is-lisp app))))
|
||||||
(current-editor-is-lisp app)))
|
(*package* (find-package pac))
|
||||||
(m (read i))
|
r)
|
||||||
(ms (format nil "~A" m))
|
(setf r (swank:operator-arglist s pac))
|
||||||
r)
|
(when r
|
||||||
(setf r (swank:operator-arglist ms pac))
|
|
||||||
(when status
|
(when status
|
||||||
(setf (advisory-title status) (documentation (find-symbol ms) 'function)))
|
(setf (advisory-title status) (documentation (read-from-string s) 'function))
|
||||||
(when r
|
(setf (text status) (string-downcase r))))))))))
|
||||||
(when status
|
|
||||||
(setf (text status) (string-downcase r)))))))))))
|
|
||||||
(clog-ace:set-auto-completion editor t)
|
(clog-ace:set-auto-completion editor t)
|
||||||
(setf (clog-ace:theme editor) *editor-theme*)
|
(setf (clog-ace:theme editor) *editor-theme*)
|
||||||
(setf (clog-ace:tab-size editor) *editor-tab-size*)
|
(setf (clog-ace:tab-size editor) *editor-tab-size*)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue