Loading ...
Sorry, an error occurred while loading the content.

Re: Vim php interface.

Expand Messages
  • Mikolaj Machowski
    ... Do you know there is already browser for Vim written with perl interface? Look for browser.vim on vim-online. m.
    Message 1 of 80 , Aug 2, 2005
    • 0 Attachment
      Dnia wtorek 02 sierpień 2005 00:52, Ligesh napisał:
      >
      > Neither of the features are needed to render html. I might need some
      > method to mark regions in the text, but other than that, you can turn
      > vim into a browser even now using vimscript.

      Do you know there is already browser for Vim written with perl
      interface?

      Look for browser.vim on vim-online.

      m.
    • François Pinard
      [Bram Moolenar] ... Even faster, the last two lines could read (untested): aobject.__dict__.update(a) -- François Pinard http://pinard.progiciels-bpi.ca
      Message 80 of 80 , Aug 3, 2005
      • 0 Attachment
        [Bram Moolenar]

        > Python can do this, of course:

        > a = {'first': 'first', 'second' : 'second'}

        > class Strange:
        > """doesn't do anytning"""

        > aobject = Strange()

        > for key in a.keys():
        > aobject.__dict__[key] = a[key]

        Even faster, the last two lines could read (untested):

        aobject.__dict__.update(a)

        --
        François Pinard http://pinard.progiciels-bpi.ca
      Your message has been successfully submitted and would be delivered to recipients shortly.