Hi Bram,

Do you have plans to add API for semantic highlighting ?

matchadd() and matchaddpos() are doing the job, but they have several flaws:
  - The positions are fixed, so when user modifies lines, it messes all the 
colors until reparse is completed and matches are renewed,
  - You can't add too many of them, it slows down Vim. So plugin writers have 
to do workarounds like adding matches only for the visible lines, and 
add/remove matches when scrolling.
  - They are window specific.

Best Regards,
Davit.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui