| SciTE Lua Scripts |
Description
Note: The definitive Lua scripts for SciTE site is http://lua-users.org/wiki/SciteScripts. Go there for the latest stuff and information.
Here are some Lua scripts for SciTE's Lua extension that I have written. Most were uploaded as text files; please rename them before running.
Note: The SciteScripts Wiki page has a more comprehensive treatment on the subject of managing scripts. If you are a serious user of SciTE Lua scripts, I recommend placing all Lua scripts in a separate directory. Then, put the following line (or something like it) in your user properties file:
ext.lua.startup.script=$(SciteDefaultHome)/script/SciTEStartup.lua
And place the following in your SciTEStartup.lua file to make loading of scripts easier:
function loadscript(scriptfile)
require(props["SciteUserHome"].."/script/"..scriptfile)
end
loadscript("SciTE_Reformat.lua")
If all your SciTE Lua scripts are in the same directory, then the usual Ctrl+Shift+O will very quickly open the script file under the caret.
| Copyright © 2003-2006 Man
Kein Hong all rights reserved.
Last Revised: 2006-01-14. Home: http://www.geocities.com/keinhong/ | Canonical URL: http://www.geocities.com/keinhong/scitemacros.html |