Lua based text editor?

Posted by ThomasWatts on Tue 18 Dec 2007 08:36 PM — 4 posts, 20,634 views.

USA #0
Are there any out there? I've searched a great deal and have found none. There are plenty of text editors written in everything from Python, Java, even Basic, but I have found zero in Lua. Has anyone ever written one or started on one then given up? I started one but have hit several road blocks mainly from the lack of core file manipulation.
I look forward to any responses.
Australia Forum Administrator #1
Do you mean an editor, written in Lua? And is this anything to do with SMAUG? I mean, are you trying to imbed an editor in the Smaug server?

Personally I use Crimson Editor, which is a great, free, editor that handles Lua text files quite well.

http://www.crimsoneditor.com/

Quote:

I started one but have hit several road blocks mainly from the lack of core file manipulation.


Why do you need to manipulate core files in an editor?

I would look on this site:

http://lua-users.org/wiki/LuaAddons

There seem to be a lot of Lua editors there, I am not sure how many are actually written in Lua.
USA #2
Yes, sorry for the confusion. I do mean written in Lua, and yes it could be used to alter the any file dynamically, then have that file reloaded.
USA #3
There was a text editor written in Lua posted to the Lua mailing list a while ago, I think. I don't believe it was a GUI app, and it used character input. If this is to embed in a server, you'd have to figure out how to edit its character input, of course. :-)

And also, for server embedding, I don't think it would be usable, without the "immediate character mode" I suggested a while ago. The problem being that you want to send the editor characters one at a time, not grouped up in lines as you normally do in the MUD client. (In fact, the reason I had suggested the new character mode to begin with was to be able to talk to a shell on the MUD server for which single characters would have meaning.)