Neil Hodgson wrote:

 Something like
host->Perform("saveas:" + host->Property("FilePath"))
  or
host->menucommand:(IDM_SAVE)
and
   host->CurrentBuffer()
  I don't know of an easy way to get the buffer number but the file
name is available. I'd prefer extending the set of text commands or
properties rather than the set of methods of ExtensionAPI.
I realized a few hours after I posted this that the desired functionality could be placed within SciTEBase::AddJob() instead of LuaExtension scite.Execute()

If the extension passes in the 'filter' flag or 'save' flag then those operations would be done within AddJob() which would be capable to do so.

April

--
I can please only one person per day.
Today is not your day. Tomorrow isn't looking good either.

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to