Lisp HUG Maillist Archive

Including Editor in a Delivered App

Is  it possible to include the editor in a delivered app?

If so, is  there any special magic required in the delivery script?


Re: Including Editor in a Delivered App

On Fri, 16 Sep 2005 11:17:27 -0400, "John C. Mallery" <jcma@csail.mit.edu> wrote:

> Is it possible to include the editor in a delivered app?
>
> If so, is there any special magic required in the delivery script?

You don't happen to mean an editor pane?

  <http://www.lispworks.com/documentation/lw445/CAPRM/html/capiref-92.htm>

That one can certainly be included in a delivered application.

Cheers,
Edi.


Re: Including Editor in a Delivered App

On Fri, 16 Sep 2005 11:38:32 -0400, "John C. Mallery" <jcma@csail.mit.edu> wrote:

> I don't think so, because it needs to have a mini-buffer and support
> Meta-X commands.

Hm.  If I deliver this code (file "foo.lisp")

  (capi:define-interface foo ()
    ()
    (:panes
     (editor
      capi:editor-pane
      :echo-area t)))

  (defun main ()
    (capi:display (make-instance 'foo)))

with this delivery script

  (load (compile-file "foo.lisp"))

  (deliver 'main "test" 0
           :editor-style :emacs
           :interface :capi)

  (quit)

I get an application with an editor which has a mini buffer and
supports extended commands (via ESC x).

Cheers,
Edi.


Re: Including Editor in a Delivered App

Unable to parse email body. Email id is 4541

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