I wrote:

> Patch 9.0.0121
> Problem:    Cannot put virtual text after or below a line.
> Solution:   Add "text_align" and "text_wrap" arguments.
> Files:      runtime/doc textprop.txt, src/textprop.c, src/structs.h,
>             src/drawline.c, src/charset.c, src/testdir/test_textprop.vim,
>             src/testdir/dumps/Test_prop_with_text_after_1.dump

With this patch (and a few following fixes) it should be possible to add
virtual text inside and after a line.

Note that there are likely various problems, especially with multi-byte
characters, longer texts, etc.  Also, truncating isn't implemented yet.

It should give you a good idea how this can be used and how it behaves.
Let me know if the way this done isn't right.  Bugs will be fixed the
coming weeks (it's complicated, many corner cases to take care of).

-- 
hundred-and-one symptoms of being an internet addict:
213. Your kids start referring to you as "that guy in front of the monitor."

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220731174609.B3D731C0C11%40moolenaar.net.

Raspunde prin e-mail lui