thats why i thought it might help you using a Syntax Highlighner for a final program
and here it is:
Code: Select all
/L12"LuaPlayer 0.8 by LuMo" LUA_LANG Line Comment = -- Block Comment On = /* Block Comment Off = */ Escape Char = \ String Chars = "' File Extensions = LUA
/Delimiters = ~!@%^&*()-+=|\/{}[]:;"'<> , .?
/Indent Strings = "function" "do" "then" "else"
/Unindent Strings = "end"
/Open Brace Strings = "{" "(" "["
/Close Brace Strings = "}" ")" "]"
/Open Fold Strings = "function" "do" "if"
/Close Fold Strings = "end"
/C1"Keywords" STYLE_KEYWORD
do
else
for
if
then
while
function
return
/C2 STYLE_FUNCTION
Image
save
createEmpty
image
blit
clear
fillRect
drawLine
pixel
pixel
print
width
height
Controls
controls
select
start
up
right
down
left
l
r
triangle
circle
cross
square
home
hold
note
analogX
analogY
system
currentDirectory
currentDirectory
listDirectory
listDirectory
usbDiskModeActivate
usbDiskModeDeactivate
screen
voice
stop
resume
volume
pan
frequency
playing
flip
waitVblankStart
Sound
sound
play
SoundSystem
SFXVolume
reverb
panoramicSeparation
Music
playFile
pause
resume
stop
playing
volume
load
/C3"Operators" STYLE_OPERATOR
+
-
=
==
~=
// /
*
~
%
&
>
<
^
!
|
NOTE:
Image.load()
will be interpretet the same way as image.load
this means it helps you with highlighning but it does not replace your eyes ;)
greets
LuMo