News for hackers. Stuff that matters.
Re:Lite: A lightweight text editor written in Lua by aethy on Tuesday October 11, 2022 @07:14PM (#33170505)
Hey; I'm part of the dev community over at lite-xl; what're your top asks? I can see if we can throw it into the feature queue (though the queue is already pretty long).
Re:Lite: A lightweight text editor written in Lua by cturtle on Tuesday October 11, 2022 @08:55PM (#33171348)
Thanks for reaching out! At the moment I can't think of anything specific. It was just some small papercuts that added up enough to prevent me from using it regularly, not a lack of features. But lite-xl did show me that building a text editor isn't as difficult as I first thought, and I now have many ideas for my own personal editor that I might make one day. If I ever give lite-xl another try I'll be sure to share any requests
Re:Lite: A lightweight text editor written in Lua by aethy on Tuesday October 11, 2022 @08:58PM (#33171369)
Fair enough; totally understand. If you ever can think of anything please don't hesitate to fire up an issue on the tracker. We're (very slowly) going through them.
Re:Lite: A lightweight text editor written in Lua by samatman on Tuesday October 11, 2022 @09:34PM (#33171662)
Personally, I'd like to see Lpeg integration, and support for Scintillua lexers:

https://github.com/orbitalquark/scintillua

Which would give fairly complete syntax coverage, and a good foundation for building more sophisticated tools.

Lua patterns are fairly primitive, while the opposite is true of Lpeg.

Re:Lite: A lightweight text editor written in Lua by aethy on Tuesday October 11, 2022 @11:42PM (#33172540)
It's unlikely that we would include that in core lite-xl due to size and complexity, but we aim to have an extremely robust plugin system (all current syntax definitions come from plugins).

It is totally possible to integrate an lpeg and scintilla plugin which could drop in replace the existing syntax support.

We already have a community member doing this, but with TreeSitter, though I'm not sure where that effort is at, at the moment.

Re:Lite: A lightweight text editor written in Lua by mega_tux on Friday October 14, 2022 @12:29PM (#33205653)
If remember correctly, the [Howl editor](https://howl.io/about.html) has Lpeg and use of scintillua. It looks great and it's older but I'm not sure why Lite got more press coverage.
Re:Lite: A lightweight text editor written in Lua by keyle on Wednesday October 12, 2022 @01:41AM (#33173303)
any plans for an M1 native build?
Re:Lite: A lightweight text editor written in Lua by aethy on Wednesday October 12, 2022 @08:47AM (#33176113)
Yes; people have built these before, so it's not really a problem with the source (I've even cross-compiled it for arm android); it's more just not part of the pipeline yet.

Given the prevalence of mac, this makes sense to support; but apple makes it really tricky to do things if you don't actually have mac hardware; even getting the x86_64 mac build built properly is a real struggle. So, we'll certainly try.

Re:Lite: A lightweight text editor written in Lua by engfan on Tuesday October 18, 2022 @06:47PM (#33255094)
Emacs standard/core key sequences (not just single keystrokes), e.g. C-x C-f to open files.