Realized I replied only to Roger, instead of to the whole list...
Forwarding that response to the 909linux address now...

----- Forwarded message from David Kaiser <[email protected]> -----

From: David Kaiser <[email protected]>
Subject: Re: [909linux] vi add-ons
To: "Roger E. Rustad, Jr." <[email protected]>

On 13Dec2005 11:30AM (-0800), Roger E. Rustad, Jr. wrote:
>    Do you guys know how i can find a VI editor plugin for
    I don't know of anything Off the Shelf that could do this, but if
    you were interested in developing this yourself, here's some general
    comments from my thoughts on this.

>    (a) Outlook 200x
    You'll need to know how to do COM+ programming.  (COM is Microsoft's
    Component-Object-Model)   I can look up the relevant documentation,
    but I don't think this would be a task for a novice.   Have you
    looked at the Vim 6 for win32 build?  Vim for win32 has a plugin for
    Microsoft Visual Studio, so you can use VIM as the editor as you
    develop software in their environment.  Look at the code for that
    MSVC plugin to see where to start.

>    (b) Firefox
    What would you be editing in Firefox?  Do you mean to have vi for a
    standard HTML page editor?  Saving files locally may be easy, but
    could you use an inline-vi mode when you have to enter data into all
    those pesky multi-line forms?
    
    You may want to stick with standard Mozilla which offers an existing
    page-editing feature, and may have a way to extend the editor there
    with a XUL/Javascript extension.

    I would think that since Mozilla and Firefox uses extensive XUL for
    so many of the custom dialogs and so on, that you could do a
    "vi-clone" in Javascript, with some of the Javascript calls going
    down into native code, where needed.
    
    Alternatively, Mozilla and Firefox both use XPCOM (Cross-Platform
    COM, basically code-but-not-binary-compliant with MS COM)  So, if
    you knew how to do COM programming, look at the IDL for Firefox, and
    you could just provide your own COM implementation of some of the
    existing Firefox code (It's all open source!)  This might not
    totally free you of the XUL/Javascript development, but at least you
    would be able to do much of the implementation in C++, using (XP)COM.


Thanks,

-- 
/* david kaiser (NO SPAM/UCE) pubkey=1C8DCC8D    begin e-mail decoder */ main()
{int j=-1;char t[]="gndlvhuCfgn1frp\r";while(t[j]!='\r'){putchar(t[++j]-3);}0;}

----- End forwarded message -----

-- 
/* david kaiser (NO SPAM/UCE) pubkey=1C8DCC8D    begin e-mail decoder */ main()
{int j=-1;char t[]="gndlvhuCfgn1frp\r";while(t[j]!='\r'){putchar(t[++j]-3);}0;}

Reply via email to