Ugh. Sorry Keith, I disagree with you on this one.
I can see it now - Lost Marble spending 70 percent of their time on editor feature requests (based on the text editor support forums I have known).
Case in point: not 5 minutes after you'd posted your original request, you already had an editor feature request.
I know if it didn't have the features (and keyboard shortcuts) of one of my favorite text editors, I'd be peeved (what, no code folding - how can anyone work without code folding?

).
Personally, I'd rather they spent their time on animation features.
Script writers can use their favorite text editor with all their favorite features and syntax highlighting controls, rather than spending time complaining that the Moho Lua editor doesn't function the same way as their favorite text editor.
Moho 5 reloads scripts (including detecting new ones) with Ctrl+F5, so you already have an "add to script menu" function, and you can have Moho and your text editor open at the same time.
Heck, it shouldn't require much effort to write a Lua script to start up your favorite editor, as either a menu script or a tool button.
Here's a quickie menu script that opens up one of my favorite text editors, SciTE, under Windows 2000 or XP:
Code: Select all
-- **************************************************
-- Provide Moho with the name of this script object
-- **************************************************
ScriptName = "MS_Edit"
-- **************************************************
-- General information about this script
-- **************************************************
MS_Edit = {}
function MS_Edit:Name()
return "Start SciTE"
end
function MS_Edit:Version()
return "1.0"
end
function MS_Edit:Description()
return "Start SciTE"
end
function MS_Edit:Creator()
return "Myles Strous"
end
function MS_Edit:UILabel()
return("Start SciTE")
end
-- **************************************************
-- The guts of this script
-- **************************************************
function MS_Edit:Run()
os.execute("start c:\\software\\wscite\\SciTE.exe")
end
Modify to suit.
As for a run button, just save, go to Moho, Ctrl+F5, and run the script within Moho (if this seems like too much effort, use a system-wide macro program to make it a one-key operation).
Running it within Moho also ensures you have the correct points selected, the vector layer active, or whatever other conditions the script assumes.
Well, anyway, that's my opinion, worth what you paid for it.
Regards, Myles.