I think they got it working with Qt6 too.  I haven't been able to tell from 
their web site. There could be another way forward, too.  NeoVim has a 
Python API, and it also has a remote API system.  If we were to embed a 
stock NeoVim window into a Qt widget, we could communicate with it over 
this interface.  We could do anything their scripting system will do, which 
means darn near anything.  It could be wrapped much as a LeoTextBrowser is 
wrapped.  From NeoVim docs:

"Nvim Python scripting is performed by an external host process implemented 
in ~2k lines of Python"

You can look at  some of the UI docs 
<https://neovim.io/doc/user/gui.html#gui>.

I've never been a VIM user, and whenever I look at it all I see is a lot of 
complication with little benefit to the way I use editors. So I may not be 
a good person to work on it.

On Thursday, October 10, 2024 at 3:53:13 PM UTC-4 Edward K. Ream wrote:

> On Thu, Oct 10, 2024 at 2:07 PM Thomas Passin <[email protected]> wrote:
>
>> NeoVim has a NeoVim Python API 
>> <https://pynvim.readthedocs.io/en/latest/api/nvim.html>. I could picture 
>> embedding an instance like I did with the calculator program and have Leo 
>> use its Python API.
>>
>
> Care to have a go? Do you think Qt5 compatibility will be an issue?
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" 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/leo-editor/e157237f-77e3-42bf-8d0f-9a4952903ffcn%40googlegroups.com.

Reply via email to