[EMAIL PROTECTED] wrote:

I have following lines of code in my SciTEStartup.lua file :

function enclose()
    local txt = editor:GetSelText();
    editor:ReplaceSel('<?php='..txt..';?>')
end
...
It is working as desired when called from Tools menu of SciTE. Is there a way I can do the same thing from command line because my tools menu has too many items in it and selecting one out of many is not very convenient? Also I do not want to use SciTE key short cuts.

I am unsure if you want to do the change within SciTE or not. I have used the user defined list feature to write custom tool menus, for example all of the CVS tools (for work). Is this what you want to do?

April

--
Great spirits have always encountered violent opposition from mediocre minds!
Albert Einstein

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

Reply via email to