mozers wrote:
I need an opportunity to sends a IDM_commands to the editor pane.
My attempts
scite.SendEditor(IDM_SAVE)
scite.SendEditor(IDM_CLOSE)
but it doesn't work in the way i need :(
From SciTELua.html:
scite.SendEditor(SCI_constant, ...)
- sends a message to the editor pane
- equivalent to the corresponding iface function or property
It sends to Scintilla, not to SciTE, and only SCI_ messages, not IDM_
ones...
Might I send editor pane IDM_commands in the same way as SCI_constant?
Is there any other way to execute menu command from internal lua?
I fear no, AFAIK the Lua interface is more plugged in Scintilla than in
SciTE, so there are many things we cannot do, alas.
If there is no such opportunity why don't we add it?
Because of time, and for some, of interest (or competence)?
You are welcome to try and expand the Lua interface, as long as the code
is clean enough to be accepted by Neil.
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest