 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
LuMo
Joined: 21 Aug 2005 Posts: 410 Location: Austria
|
Posted: Sun Aug 21, 2005 4:24 am Post subject: UEStudio '05 Syntax Highlightning |
|
|
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 |
|
 |
chaos
Joined: 10 Apr 2005 Posts: 135
|
Posted: Sun Aug 21, 2005 11:44 am Post subject: |
|
|
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 |
|
 |
|
|
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
|