UEStudio '05 Syntax Highlightning

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

UEStudio '05 Syntax Highlightning

Post by LuMo »

well there is an LuaIDE available, but it misses crtl+f function and so on, so its beta...
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 = ~!@%^&*&#40;&#41;-+=|\/&#123;&#125;&#91;&#93;&#58;;"'<> ,	.?
/Indent Strings = "function" "do" "then" "else"
/Unindent Strings = "end"
/Open Brace Strings =  "&#123;" "&#40;" "&#91;"
/Close Brace Strings = "&#125;" "&#41;" "&#93;"
/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
+
-
=
==
~=
// /
*
~
%
&
>
<
^
!
|
just copy these lines on the end of your wordfile.txt and highlighning for LuaPlayer 0.8 will be available
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
chaos
Posts: 135
Joined: Sun Apr 10, 2005 5:05 pm

Post by chaos »

personally, i use crimson editor, it has built in support for lua

http://www.crimsoneditor.com/

best programming editor i have found, and it's free..
Chaosmachine Studios: High Quality Homebrew.
Post Reply