Live data from Hacker News

Show HN: Lite – A small, fast text editor

github.com

231–240 of 276 posts

Re: Show HN: Lite – A small, fast text editor

#231

Earlier quoted context omitted.

A virtual DOM doesn't necessarily imply DOM existence; I don't buy that. It really depends on how persistent you want your "virtual" to be. A virtual DOM, to me, means that the application renders by, every time, constructing data structures which are handed off to be reconciled with the display. If, as in an HTML application, you render by means of a retained mode real DOM, then the reconciliation is via comparison…

> A virtual DOM doesn't necessarily imply DOM existence; That's wrong. virtual DOM is always a parallel structure to real DOM - projection of it. That's by definition of it. From vDOM authors: https://reactjs.org/docs/faq-internals.html > The virtual DOM (VDOM) is a programming concept where an ideal, or “virtual”, representation of a UI is kept in memory and synced with the “real” DOM

I get the feeling you're reading this too literally. I think eyelidlessness is talking about using a technique that is analogous or similar to that of a virtual DOM. Nobody is talking about an actual DOM.

Re: Show HN: Lite – A small, fast text editor

#233
post #44
post #4

If you are interested in small Lua-based text editors, I advise you to take a look at Textadept: https://foicica.com/textadept/ . Specifically as to minimalism: "Relentlessly optimized for speed and minimalism over the years, the editor consists of less than 2000 lines of C code and less than 4000 lines of Lua code." I believe this is a limit that the editor's author self-imposed and keeps to it with an impressive st…

You might also be interested in kilo: https://github.com/antirez/kilo

I forked that to add support for Lua-based scripting, multiple buffers, etc. Fun exercise:

https://github.com/skx/kilua

Re: Show HN: Lite – A small, fast text editor

#234
post #44

Earlier quoted context omitted.

You might also be interested in kilo: https://github.com/antirez/kilo

I forked that to add support for Lua-based scripting, multiple buffers, etc. Fun exercise: https://github.com/skx/kilua

Hunter x hunter reference?

Re: Show HN: Lite – A small, fast text editor

#235

Any instructions on how to run this on macos?

Nice project. Would be nice to change the key binding on mac to use the Command key instead of control. It is one of those habit and mental shift when using mac vs linux/windows.

Is there a config file where this can be changed?

Re: Show HN: Lite – A small, fast text editor

#237
post #4

If you are interested in small Lua-based text editors, I advise you to take a look at Textadept: https://foicica.com/textadept/ . Specifically as to minimalism: "Relentlessly optimized for speed and minimalism over the years, the editor consists of less than 2000 lines of C code and less than 4000 lines of Lua code." I believe this is a limit that the editor's author self-imposed and keeps to it with an impressive st…

Also "zile"

Re: Show HN: Lite – A small, fast text editor

#238
post #41

Earlier quoted context omitted.

As the editor is written mostly in Lua, with C taking care of the lower level parts, plugins can typically customise anything limited to what is exposed by Lua and the C API. Beyond adding custom commands, plugins can also do things like patch straight in the DocView's line-drawing function to draw additional content: https://user-images.githubusercontent.com/3920290/80743752-7... Or create their own custom "views":…

Thank you for the response. I wanted to have a simple IDE for R because R studio is very slow. I think this is a nice base to built on top of.

I support this! Have been trying to use VS Codium[1], but R Studio keeps pulling me back in. An alternative with some nice R plugins would be fantastic.

[1] https://vscodium.com/

Re: Show HN: Lite – A small, fast text editor

#239
post #4

If you are interested in small Lua-based text editors, I advise you to take a look at Textadept: https://foicica.com/textadept/ . Specifically as to minimalism: "Relentlessly optimized for speed and minimalism over the years, the editor consists of less than 2000 lines of C code and less than 4000 lines of Lua code." I believe this is a limit that the editor's author self-imposed and keeps to it with an impressive st…

Text adept lacks a "folder view". if it were not for it. and "open folder".

For now, lite also lacks "open folder", but it shows tree view of current directory atleast

Re: Show HN: Lite – A small, fast text editor

#240

Earlier quoted context omitted.

There’s way less abstraction going on in Lua app that has a hand-rolled GUI versus an app built on top of a web browser like Electron. Hand rolling you’re own UI doesn’t make it less native — is Ableton Live not-native? Or are you drawing the line because Lua is a scripting language?

What's ableton written in? Java / awt?

Their own C++ UI toolkit mostly
Post reply on HN