Lisp HUG Maillist Archive

change-callback for editor-pane?

Hi,

Is there an equivalent to :change-callback for editor-pane?


Mika Kuuskankare
Researcher
Department of Doctoral Studies in Musical Performance and Research
Sibelius Academy

Henkilökohtainen postiosoite/Personal post address
PL 342 - PO Box 342
FIN-00121 Helsinki, FINLAND
Tel. +358 (0)40 5415 233






Re: change-callback for editor-pane?

On Wed, 21 Dec 2005 12:46:34 +0200, Mika Kuuskankare <mkuuskan@siba.fi> wrote:

> Is there an equivalent to :change-callback for editor-pane?

One general way of doing this is to subclass EDITOR-PANE for your app
and then write :AROUND or :AFTER methods on CAPI:CALL-EDITOR.  I've
done that for "Regex Coach" and it works well with Windows and Linux
but breaks on OS X because the threading model there is different.

The editor also has several hooks you could try to use.  I don't think
they're documented but you can grep through the editor sources.

HTH,
Edi.


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