Hi Bram,

On Tuesday, January 1, 2019 at 7:50:16 PM UTC+1, Bram Moolenaar wrote:
>   prop_add({lnum}, {col}, {props})
> ! Attach a text property at position {lnum}, {col}.  {col} is
> ! counted in bytes, use one for the first column.
>    If {lnum} is invalid an error is given. *E966*
>    If {col} is invalid an error is given. *E964*
>
>    {props} is a dictionary with these fields:
> !    length length of text in bytes, can only be used
> ! for a property that does not continue in
> ! another line; can be zero
> !    end_lnum line number for the end of text
> !    end_col column just after the text; not used when "length"
> ! is present; when {col} and "end_col" are equal
> ! this is a zero-width text property

for a zero-width property it's not enough to have {col} equal to "end_col",
"end_lnum" (if given) should be equal to {lnum} too.

Tom

-- 
-- 
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