About wxScintilla: I just posted a patch on BerliOS with script Squirrel bindings for wxScintilla:
local ed = GetEditorManager().GetActiveEditor()
if( ed.GetStyle()==2 ) // 2 is a comment line in Scintilla
ed.InsertText(_T("This appears inside a comment"))
So, now one can make scripts that navigate and edit in open text files.
It's convenient to use the style information from Scintilla, one can
know what element (comment, identifier, reserved word,...) one is
dealing with.
I'm looking at doing wxEventHandler macro insertion this way.
OK!
// Arst