And the Script Writers Favourite Tool Is...

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Rai López
Posts: 2294
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

And the Script Writers Favourite Tool Is...

Post by Rai López »

Actually (well, in the past because I have no time now) I modify/ write Moho scripts using the Windows Notepad, but this is tedious and don't give me any information about number line, code groups, etc... I think that must be some apropiate tool for do that fine but I don't know and cause of this I ask for information... I'm wondering which program will use 7feet and company or which they would use (or advice me), can you tell me (PLEASE)? Well, THANKS in advance & CIAO!
User avatar
jorgy
Posts: 779
Joined: Sun Sep 05, 2004 8:01 pm
Location: Colorado, USA

Post by jorgy »

This is a highly personal taste, but I like vim: http://www.vim.org/. It has a steep learning curve. However, it does have syntax highlighting for lua scripts, to make lining up parentheses and finding syntax errors easier. Not for the faint of heart.
User avatar
7feet
Posts: 840
Joined: Wed Aug 04, 2004 5:45 am
Location: L.I., New Yawk.
Contact:

Post by 7feet »

I use TextPad. Good setup for highlighting in different colors of all sorts of things. A perfectly workable Lua for Moho syntax was posted as one of the first things in this very forum. I've tweaked it a bit to add a few things that I don't think were in the API when it was whacked together (when it was Beta, or just out, if I remember correctly). I'd screw up even more horribly than I already do without it.

I have it set up to do a few things, but one that has saved me a lot of frustration is to recognize quotes (""), and changed the background color for quoted text. So, as I often forget the closing quotes, I know quick. Saves fishing. Don't know if you can export your setup, but if you can and you want to try it out I'll be happy to send you mine. Pretty easy on the eyes but still tells you a lot about what's going on.
User avatar
Rai López
Posts: 2294
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Post by Rai López »

THANK YOU to both!! I've finaly been tried TextPad and seems that I was looking for, maybe it'll become best and best when I know the way to customize and adapt to work with LUA (colours, comands, etc), but I've no time to investigate now :( ...If you'd be SO kind (7feet) to help me with that or give me some clues I'd be SO gratefull, yes... But for now and without doubt anything is better that work with Notepad, sure... I don't know how I've been scripting without this... CIAO!
janimatic
Posts: 136
Joined: Sat Mar 26, 2005 12:22 am
Contact:

Post by janimatic »

i highly recommend SciTE http://www.scintilla.org
User avatar
Rai López
Posts: 2294
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Post by Rai López »

Hmmm, interesting... I'm visiting the page now, seems that you can install specific LUA instructions (or something like that) Well, I'll going to see what more can I know about it... THANK YOU for INFO!!!
myles
Posts: 821
Joined: Sat Aug 21, 2004 3:32 am
Location: Australia, Victoria, Morwell
Contact:

Post by myles »

SciTE for me too (although I use it more for Python than Lua), but any decent text editor will be a huge improvement over Notepad, and any text editor becomes a useful tool as you get to know its features and shortcuts.

The base ready-to-use SciTE is good (syntax highlighting, code folding, regular expression search-and-replace), but it's even better when you start to customise it - .api files for language-specific pop-up function lists and function parameter calltips, Lua "macro" scripting, and all the really useful options in SciTEUser.properties (a text-based configuration file, possibly a little intimidating at first to those who prefer GUI configuration, but very flexible - run external programs, look up help files for the word under the cursor, etc).

Also useful if you move between PCs: You can fit SciTE, a Lua interpreter, and a reasonable amount of source code on a floppy disk for a portable programming environment (within Lua's limitations), or run SciTE from a CD-ROM or USB drive without installing it.

Regards, Myles.
"Quote me as saying I was mis-quoted."
-- Groucho Marx
User avatar
Rai López
Posts: 2294
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Post by Rai López »

SciTE seems PERFECT, I hope someday have time to learn all about LUA scripting... THANKS for all that USEFULL information!!! (again).
Post Reply