Re: programming AbiWord (was: Re: Code patches vs. macros vs. plugins (was: Re: Re[2]: INS)

From: Omer Zak (omerz@actcom.co.il)
Date: Tue Jan 21 2003 - 10:25:17 EST

  • Next message: Dom Lachowicz: "Re: programming AbiWord (was: Re: Code patches vs. macros vs. plugins (was: Re: Re[2]: INS)"

    On Tue, 21 Jan 2003, Dom Lachowicz wrote:

    > > Now, does AbiWord have a mechanism to change the INS
    > > key binding so that
    > > it'll invoke a script (which will pop up a dialog,
    > > which needs an extra
    > > mouse click to be dismissed) instead of changing the
    > > caret color?
    >
    > You can register a listener on a View. When notify()
    > is called, you can test to see if the particular
    > signal you were looking for (mask &
    > (AV_CHG_INSERTMODE)) was triggered, and what its value
    > is/was.

    After having recovered from fainting, the old lady in the church has
    tarred and feathered you due to witchcraft, usage of obscene language and
    being a way too smart for her.

    So, it may be a good idea to add a Preferences dialog, which will let her
    choose a keypress combination (like INS or even CTRL-SHIFT-U) and specify
    if and which built-in action or script is to be invoked by this keypress
    combination.

                                                 --- Omer
    WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html



    This archive was generated by hypermail 2.1.4 : Tue Jan 21 2003 - 10:28:04 EST