Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Lua ➜ Lua based text editor?

Lua based text editor?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by ThomasWatts   USA  (66 posts)  Bio
Date Tue 18 Dec 2007 08:36 PM (UTC)
Message
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.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 18 Dec 2007 11:50 PM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by ThomasWatts   USA  (66 posts)  Bio
Date Reply #2 on Wed 19 Dec 2007 01:38 AM (UTC)
Message
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.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #3 on Wed 19 Dec 2007 09:24 PM (UTC)
Message
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.)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


16,584 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.