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

55074Re: preserving folding during :TOhtml?

Expand Messages
  • Bram Moolenaar
    Nov 23, 2004
      Hari Krishna Dara wrote:

      > > Functions for syntax and highlight groups already existed.
      > Sorry for not being clear, what I was talking about the highlighting
      > shown by using :match command. How do I know that a (line,col) is being
      > shown with a specific highlighting group? Once I can determine this, I
      > can make use of the functions synIDattr() and synIDtrans() to obtain
      > display attributes.

      To find out where the ":match" command finds a match you can search for
      that pattern yourself. That's what Vim does. The locations are not
      remembered in any way.

      TIM: Too late.
      ARTHUR: What?
      TIM: There he is!
      [They all turn,, and see a large white RABBIT lollop a few yards out of the
      cave. Accompanied by terrifying chord and jarring metallic monster noise.]
      "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
      \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
    • Show all 11 messages in this topic