Lisp HUG Maillist Archive

LW IDE: How to get current Editor interface

Hi,

When running the command from editor:defcommand,
how to get the current editor interface?

-- 
Br,
/Alexey

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

Re: LW IDE: How to get current Editor interface

Alexey Veretennikov wrote on Sun, 11 Dec 2016 15:01:49 +0100 17:01:

| When running the command from editor:defcommand,
| how to get the current editor interface?

(capi:top-level-interface (editor::current-editor-pane))
--
Sincerely,
Dmitry Ivanov
lisp.ystok.ru

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

Re: LW IDE: How to get current Editor interface

Thanks, works for me.

"Dmitry Ivanov" <dmitry502@list.ru> writes:

> Alexey Veretennikov wrote on Sun, 11 Dec 2016 15:01:49 +0100 17:01:
>
> | When running the command from editor:defcommand,
> | how to get the current editor interface?
>
> (capi:top-level-interface (editor::current-editor-pane))
> --
> Sincerely,
> Dmitry Ivanov
> lisp.ystok.ru

-- 
Br,
/Alexey

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

Updated at: 2020-12-10 08:31 UTC