Looks good, as far as i understand.
>Rest would come later, based on your suggestions
I don't know what you wanna hear or need, so here just some thought:
Methods:
bAnswer = Yes/No
bConfirm = OK/Cancel
get/set HE Settings like HE.Setting.Get(SelectionMode), HE.Settings.Set(LineNumbers=0),
HE.Settings.Set(colorscheme=blue)
HTMLDialog as extension for simple MsgBox and for complex UI (comes later, i know)
fileSave( string sFileName ). Save document as sFileName or ask for file name if sFileName is empty.
FileDelete( string sFileName )
execute( CleanUp.vbs ), execute( comspec /c delete string sFileName)
runTool( compiler )
TabNew/TabClose
TabSetAsCurrentActive
Events:
onFileLoad/close (or is this part of onCommand ?)
onFocus/Focus loose (tab and/or app)
onKey (key is pressed)
onMouse move / click
>to get a proposal of built-in objects architecture (object names, methods etc).
You ask for an collection of commands needed?
Like that we would need things like 'GetLineCount' or 'get/set Pos of Line/Column' ?
.