> What about implement both of them and give them two different names ?
>
> First, implement the list of lines, the api design(
> https://github.com/vim/vim/blob/957f85d54ebd5a3bd0d930de9603190f0876f977/runtime/doc/popup.txt)
> is very simple and clear, it requires less work and can give us something to
> use after a short time.
>
> Then, implement the popup buffer, it requres to modified a lot of existing
> window/buffer code. and many details have not been decided yet. We have
> planty of time to consider and implement it in a nice way.
>
> But the buffer solution is really similar to neovim's floating window, neovim
> uses nearly two years to bring it out. So it's no doubt that popup buffer
> solution will take a long time in the future and many thing may change.
>
> So, give plugin authors something to use (like list of lines) at first
> please. and collect feedback to iterate the popup buffer.
Hmm, that would mean implementing the display code twice, which makes it
even more complicated. The display code is most of the work anyway.
It would be possible to create a popup with just text, then Vim would
create a buffer to hold that text. Text properties can be added as
well, since they will be defined the same way.
--
If someone questions your market projections, simply point out that your
target market is "People who are nuts" and "People who will buy any damn
thing". Nobody is going to tell you there aren't enough of those people
to go around.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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/201905201315.x4KDFh1m017732%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.