/usr/share/codeblocks/lexers/lexer_squirrel.sample is in codeblocks-common 13.12-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | /* The main startup script */
function main()
{
Log(_T("Running startup script"));
// you could set the shortcuts used for the menus
// e.g.:
// SetAcceleratorFor(_T("File|Open"), _T("Ctrl-Alt-O"));
local i = 5;
local s = "Hello world";
ShowMessage(s);
ShowWarning(_T("Bye world"));
return 0;
}
|