I'm trying to highlight a rectangle.

     syn match EVB_window /\%>1l\%>1c\%<5c\%<4l/
or
     syn match error /\%1l/

don't work.  This does:

    match VIsual /\%>1l\%>1c\%<5c\%<4l/

It appears that I have to use this:

syn clear
syn match EVB_window_lines /\%3l\_.*\%7l/
syn match EVB_window_cols /\%5c.*\%15c/ containedin=EVB_window_lines contained

hi link EVB_window_cols error

Should I be able to use  \%>  in syntax highlighting, as with simple
'match' highlighting?

Reply via email to