Included LUA scripts
This helpfile also contains the LUA manual and a copy of the Scintilla.iface that comes with SciTE and contains a list of all commands that SciTE Can handle.
We have included a couple of LUA scripts to show what they can do.
The LUA script file is located the SciTE program directory and is called AutoIt3.Lua.
- Insert a copy of the Bookmarked line(s) - Ctrl+Alt+B
This functions will insert all Bookmarked lines at the beginning for the current line.
Lines can be Bookmarked by pressing Ctrl+F2.
- Jump to the "Func ???" definition of the functionname under the Cursor - Ctrl+J
It will also Bookmark the original line to enable you to jump back to the original line with F2.
Debugging LUA Script

- Add Debug msgbox - Ctrl+Shift+D
This function will add a MSGBOX below the current line that contains the Var the cursor is at
$a = $b + 1 (Put the cursor on $b and press Ctrl+Shift+D the following line will be added)
MsgBox(4096,'debug:' & $b,$b) ;### Debug MSGBOX
- Add Debug ConsoleWrite message - Alt+D
This function will add a ConsoleWrite line below the current line that contains the Var the cursor is at
$a = $b + 1 (Put the cursor on $b and press Ctrl+Shift+D the following line will be added)
ConsoleWrite('(4) :(' & @MIN & ':' & @SEC & ') $b' & $b & @lf) ;### Debug Console
- Comment ALL DEBUG MsgBox and ConsoleWrite lines: Alt+Shift+D
- UnComment ALL Debug MsgBoxes and ConsoleWrite lines: Ctrl+Alt+D
- Trace your Program Tools/Debug: Add TraceRemove lines
This will add an ConsoleWrite for every code line which will show the program trace will executing.
- Remove ALL Debug MsgBoxes and ConsoleWrite lines Available under: Tools/Debug: Remove ALL lines
