nedit patches
TK Soh
teekaysoh at gmail.com
Tue Aug 1 16:50:28 CEST 2006
On 7/31/06, A.V.Kuznetsov <kuzn at umps.mephi.ru> wrote:
> Dear TK Soh,
>
> Thank you. Toolbar works fine.
>
> > Currently the patch is really simple and the buttons are hardcoded, so
> > no customization at runtime. You get the buttons for most of the
> > regular function though - the fact fact I didn't have to add any more
> > buttons for the past three years prabably speaks for it. :-)
>
> Indeed, buttons content covers most of useful actions.
>
> Sorry, I am not a programmer, so I am sure, following question
> is very naive. Excuse me in advance.
>
> As I understand, at the "top level" buttons are defined as
>
> {TOOL_BTN, doActionCB, "find_definition", "Find Definition (Tag)",
> {pushtag_bits, pushtag_width, pushtag_height}},
>
> where first field is a on/off switch.
> Via "doActionCB" a button is bounded with some
> "action" described somewhere in nedit code.
> Next field is help content
> and the last one is description of a button-image target.
>
> Is it possible to modify patch to allow usage of user-defined macro
> instead of predefined "action"?
>
> I tried to substitute some "action" by tex_compile() macro and
> reseived the message
>
> No action proc named "tex_compile" is registered for widget "text"
It's been awhile since I last look at the code (last weekend's update
was fairly simple). Let me take a closer look.
More information about the Discuss
mailing list