forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

UEStudio '05 Syntax Highlightning

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Sun Aug 21, 2005 4:24 am    Post subject: UEStudio '05 Syntax Highlightning Reply with quote

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:
/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
+
-
=
==
~=
// /
*
~
%
&
>
<
^
!
|


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
Back to top
View user's profile Send private message Visit poster's website
chaos



Joined: 10 Apr 2005
Posts: 135

PostPosted: Sun Aug 21, 2005 11:44 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group