55074Re: preserving folding during :TOhtml?
- Nov 23, 2004Hari Krishna Dara wrote:
> > Functions for syntax and highlight groups already existed.To find out where the ":match" command finds a match you can search for
> 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.
that pattern yourself. That's what Vim does. The locations are not
remembered in any way.
TIM: Too late.
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 ///
- << Previous post in topic Next post in topic >>