Text Editors/Sytax Highlighting (Get syntax files here!)

Status
Not open for further replies.

CrazyJosh1

Active Member
Title says it all. What program do you use to write scripts in and what syntax highlighting do you use for it? I've been using Zend Development w/ CSS Highlighting, and it works decently well, but it gets screwy when using parens. :(
 

CrazyJosh1

Active Member
Upon Searching, I found another thread, regarding UltraEdit, so I made some syntax that fit ISXVG for it. I went through several scripts, and grabbed what I found and added it, but I am sure its far from complete. if you find something that isnt there, please tell me here :)

Code:
/L20"InnerSpace" Line Comment = ; Block Comment On = /* Block Comment Off = */ String Chars = '" 

Line Comment Preceding Chars = [ ^t] DisableMLS File Extensions = ISS ICE
/Delimiters = ~!@%^&*()+{}[]:;"'	, .?
/Function String 1 = "%[ ^t]++function[~ ^t]++[ ^t]+[a-zA-Z0-9_.]+(*)[ ^p^r^n]"
/Function String 2 = "%[ ^t]++method[~ ^t]++[ ^t]+[a-zA-Z0-9_.]+(*)[ ^p^r^n]"
/Function String 3 = "%[ ^t]++member[~ ^t]++[ ^t]+[a-zA-Z0-9_.]+(*)[ ^p^r^n]"
/Function String 4 = "%[ ^t]++atom[~ ^t]++[ ^t]+[a-zA-Z0-9_.]+(*)[ ^p^r^n]"
/Indent Strings = "{"
/Unindent Strings = "}"
/Open Brace Strings =  "{" "(" "["
/Close Brace Strings = "}" ")" "]"

/C1"ISS Commands (blue)" 
AddTrigger
Alias
APICall
Arg
Bind
Cat
ClipMouse
Commands
Console ConsoleClear
DeclareVariable DeleteVariable
DIMouse
DisplayInfo
Echo
EndRecord
EndScript
Events
Execute ExecuteFile 
Exit
Extension
FileRedirect
FPS
Game Games
Gamma
GlobalBind
Head
HUD HUDGroup HUDSet
INIRedirect
InputBox
Line
Log
LSType LSVersion
Macro
MaxFPS
MessageBox
Module
MouseClick MouseCursor MouseTo
Navigation NavPath NavPoint
NoParse
Press
Processor
Profile Profiles
Record
Redirect
RemoveTrigger
RunScript
Scripts
Services
Squelch
Tail
Test
TimedCommand
TopLevelObject
Type
ui 
UIElement
Uplink
Version
WindowFrame WindowPosition WindowScale WindowSize WindowTaskbar WindowText WindowVisibility  
Wireframe
XMLSetting

/C2"Look at me (red)" 
function
call 
Call  
break 
Return return 
member 
method 
atom AddAtom DeleteAtom ExecuteAtom 
Module 
ext 
VGExecute 
:Use 
:ChangeTo 
:Target 
:Face 
:Perform 
:Equip 
:Unequip 

/C3"Look at me 2 (orange)" 
AddTrigger 
Turbo 
wait 
WaitFrame 
waitframe 
ExecuteQueued
QueueCommand 
FlushQueued
OSExecute 
Processor

/C4"ISS datatypes (green)" 
#include 
float 
string 
mutablestring 
int 
rgb 
byte 
math 
type 
time 
bool Bool
array 
system 
point3f 
lavishscript script 
variable 
exists 
dataset 
display 
bind 
Keyboard 
Mouse 
console 
extension exists
navigation navpoint navworld navpath 
isuibutton isuicheckbox isuicombobox isuiconsole isuiframe isuielement isuigauge isuihudelement 

isuilistboxitem isuilistbox 
isuimessagebox isuiscrollbar isuislider isuitab isuiwindow isuifont 
noop 
case 
floatptr stringptr intptr rgbptr byteptr boolptr 

/C5"ISS Var Members (brown)" 
Abs Acos AppWindowed Arg Asin Atan Ability Afterburner
Calc Centi Color Combo Command Compare CompareCS Cos Count CombatState Class CurrentChunk 

CurrentForm 
Date Day DayOfWeek Dec Deci DesktopHeight DesktopWidth Dimensions Distance Difficulty DTarget
Echo Equal EqualCS Effect EnergyPct ExecBinding Encounter EnergyCost EnduranceCost 
Endurance 
Filename Filter Find Float Foreground Form 
GetFloat GetInt GetString GV
Height Hex Hour HealthPct HaveLineOfSightTo HavePet Health 
Int InCombat IsReady ID IsDead InGlobalRecovery IsStunned IsSprinting IsGroupMember IsInMyGroup 

Inventory IsCasting ISXVG 
JinCost 
Keys 
Left Length Lower 
Member MemFree MemTotal Mid Milli Minute Monitor Month Me 
Name Night Not NotEqual NotEqualCS 
Open OS OSBuild Owner OwnedByMe 
Precision Pawn PawnCount Pet 
Rand Reverse Right 
Second SecondsSinceMidnight Sin Size Sqrt System Stat Sprint Songs 
Tan Time12 Time24 Token Timestamp RunningTime Target TargetHealth Type ToPawn TimeRemaining 

TargetAsEncounter TargetEffect TargetCasting 
Upper 
ViewableHeight ViewableWidth ViewableX ViewableY  VG 
Width Windowed WindowHeight WindowWidth WindowScale WindowPos WindowPosition WindowFrame  

WindowSize WindowVisibility WindowText 
X 
Y Year 
Level Race Class Guild GUID FactionGroup CanUse 

/C6"ISS Commands - Lower Case(blue) " 
alias 
bind bool
capturebegin captureend cd clipmouse commands console consoleclear consolevisiblelines continue 

collection
do declare declarevar declarevariable delete deletevar deletevariable dimouse displayinfo 
else echo end endscript execute executefile exit extension elseif 
fps float for filepath
game games globalbind 
hudadd hudlist hudremove hudset 
if int int64 iterator
local log 
maxfps mkdir mouseclick mouseto multiline 
name noparse 
press profile profiles 
relay rename rm rmdir run runscript 
switch script services sessions string squelch settingsetref
timedcommand type time
uplink
vardata varcalc varset version
while wireframe windowscale windowpos windowposition windowframe windowsize windowvis 

windowvisibility windowtext windowtray 

/C7"Parentheses for Var (blue)" 
{ 
} 
$ 

/C8"ISS TLO - Upper Case (darkblue)"  
APIReturn 
Arg 
Console 
Display 
Execute 
Extension 
Game 
If 
Int 
Keyboard 
LavishScript 
Math 
Mouse 
Navigation 
NavPath 
Profile 
QueuedCommands 
Script 
Select 
Session Sessions 
SettingXML 
String 
System 
Time 
Type 
UIElement 
UserInput 
Variable 
WaitFor
 

Kazman420

Active Member
I used to use Metapad, but after looking over the Notepad++ site, I think I might check that out, hehe. Thanks Sinful =)
 

CrazyJosh1

Active Member
Here's an updated wordfile.txt for UltraEdit32
Code:
/L20"InnerSpace" Line Comment = ; Block Comment On = /* Block Comment Off = */ String Chars = '" 

Line Comment Preceding Chars = [ ^t] DisableMLS File Extensions = ISS ICE
/Delimiters = ~!@%^&*()+{}[]:;"'	, .?
/Function String 1 = "%[ ^t]++function[~ ^t]++[ ^t]+[a-zA-Z0-9_.]+(*)[ ^p^r^n]"
/Function String 2 = "%[ ^t]++method[~ ^t]++[ ^t]+[a-zA-Z0-9_.]+(*)[ ^p^r^n]"
/Function String 3 = "%[ ^t]++member[~ ^t]++[ ^t]+[a-zA-Z0-9_.]+(*)[ ^p^r^n]"
/Function String 4 = "%[ ^t]++atom[~ ^t]++[ ^t]+[a-zA-Z0-9_.]+(*)[ ^p^r^n]"
/Indent Strings = "{"
/Unindent Strings = "}"
/Open Brace Strings =  "{" "(" "["
/Close Brace Strings = "}" ")" "]"

/C1"ISS Commands (blue)" 
AddTrigger
Alias
APICall
Arg
Bind
Cat
ClipMouse
Commands
Console ConsoleClear
DeclareVariable DeleteVariable
DIMouse
DisplayInfo
Echo
EndRecord
EndScript
Events
Execute ExecuteFile 
Exit
Extension
FileRedirect
FPS
Game Games
Gamma
GlobalBind
Head
HUD HUDGroup HUDSet
INIRedirect
InputBox
Line
Log
LSType LSVersion
Macro
MaxFPS
MessageBox
Module
MouseClick MouseCursor MouseTo
Navigation NavPath NavPoint
NoParse
Press
Processor
Profile Profiles
Record
Redirect
RemoveTrigger
RunScript
Scripts
Services
Squelch
Tail
Test
TimedCommand
TopLevelObject
Type
ui 
UIElement
Uplink
Version
WindowFrame WindowPosition WindowScale WindowSize WindowTaskbar WindowText WindowVisibility  
Wireframe
XMLSetting

/C2"Look at me (red)" 
function
call 
Call  
break 
Return return 
member 
method 
atom AddAtom DeleteAtom ExecuteAtom 
Module 
ext 
VGExecute 
:Use 
:ChangeTo 
:Target 
:Face 
:Perform 
:Equip 
:Unequip 

/C3"Look at me 2 (orange)" 
AddTrigger 
Turbo 
wait 
WaitFrame 
waitframe 
ExecuteQueued
QueueCommand 
FlushQueued
OSExecute 
Processor

/C4"ISS datatypes (green)" 
#include 
float 
string 
mutablestring 
int 
rgb 
byte 
math 
type 
time 
bool Bool
array 
system 
point3f 
lavishscript script 
variable 
exists 
dataset 
display 
bind 
Keyboard 
Mouse 
console 
extension exists
navigation navpoint navworld navpath 
isuibutton isuicheckbox isuicombobox isuiconsole isuiframe isuielement isuigauge isuihudelement 

isuilistboxitem isuilistbox 
isuimessagebox isuiscrollbar isuislider isuitab isuiwindow isuifont 
noop 
case 
floatptr stringptr intptr rgbptr byteptr boolptr 
AggroNPC

/C5"ISS Var Members (brown)" 
Abs Acos AppWindowed Arg Asin Atan Ability Afterburner 
Calc Centi Color Combo Command Compare CompareCS Cos Count CombatState Class CurrentChunk 

CurrentForm 
Date Day DayOfWeek Dec Deci DesktopHeight DesktopWidth Dimensions Distance Difficulty DTarget
Echo Equal EqualCS Effect EnergyPct ExecBinding Encounter EnergyCost EnduranceCost 
Endurance 
Filename Filter Find Float Foreground Form 
GetFloat GetInt GetString GV GetPawns 
Height Hex Hour HealthPct HaveLineOfSightTo HavePet Health 
Int InCombat IsReady ID IsDead InGlobalRecovery IsStunned IsSprinting IsGroupMember IsInMyGroup 

Inventory IsCasting ISXVG IsOffensive IsDefensive IsRescue IsChain IsCounter IsHarvestable 
JinCost 
Keys 
Left Length Lower Length 
Member MemFree MemTotal Mid Milli Minute Monitor Month Me 
Name Night Not NotEqual NotEqualCS 
Open OS OSBuild Owner OwnedByMe 
Precision Pawn PawnCount Pet 
Rand Reverse Right Range 
Second SecondsSinceMidnight Sin Size Sqrt System Stat Sprint Songs 
Tan Time12 Time24 Token Timestamp RunningTime Target TargetHealth Type ToPawn TimeRemaining 

TargetAsEncounter TargetEffect TargetCasting Type  TargetType
Upper 
ViewableHeight ViewableWidth ViewableX ViewableY  VG 
Width Windowed WindowHeight WindowWidth WindowScale WindowPos WindowPosition WindowFrame  

WindowSize WindowVisibility WindowText 
X 
Y Year 
Level Race Class Guild GUID FactionGroup CanUse 

/C6"ISS Commands - Lower Case(blue) " 
alias 
bind bool
capturebegin captureend cd clipmouse commands console consoleclear consolevisiblelines continue 

collection
do declare declarevar declarevariable delete deletevar deletevariable dimouse displayinfo 
else echo end endscript execute executefile exit extension elseif 
fps float for filepath
game games globalbind 
hudadd hudlist hudremove hudset 
if int int64 iterator
local log 
maxfps mkdir mouseclick mouseto multiline 
name noparse 
press profile profiles 
relay rename rm rmdir run runscript radius resource 
switch script services sessions string squelch settingsetref
timedcommand type time
uplink
vardata varcalc varset version
while wireframe windowscale windowpos windowposition windowframe windowsize windowvis 

windowvisibility windowtext windowtray 

/C7"Parentheses for Var (blue)" 
{ 
} 
$ 

/C8"ISS TLO - Upper Case (darkblue)"  
APIReturn 
Arg 
Console 
Display 
Execute 
Extension 
Game 
If 
Int 
Keyboard 
LavishScript 
Math 
Mouse 
Navigation 
NavPath 
Profile 
QueuedCommands 
Script 
Select 
Session Sessions 
SettingXML 
String 
System 
Time 
Type 
UIElement 
UserInput 
Variable 
WaitFor
 

Stardog

Active Member
man, i feel for you all I use Visual Studio with Intelli sense. i'm so freggin lazy.. half the crap i do is typed for me LOL
 

Karye

Active Member
TextPad 4.0 with the following .syn file
Code:
; TextPad syntax file for LavishScript and InnerSpace

C=1

[Syntax]

Namespace1 = 6
IgnoreCase = Yes
KeyWordLength =
BracketChars = ${[()]}
OperatorChars = -+*/<>!~%^&|=
PreprocStart = #
SyntaxStart =
SyntaxEnd =
HexPrefix = 0x
CommentStart = /*
CommentEnd = */
CommentStartAlt =
CommentEndAlt =
SingleComment = ;
SingleCommentCol =
SingleCommentAlt =
SingleCommentColAlt =
SingleCommentEsc =
StringsSpanLines = No
StringStart = "
StringEnd = "
StringAlt =
StringEsc = \
CharStart = '
CharEnd = '
CharEsc = \

[Preprocessor keywords] 
#define
#echo
#elif
#else
#endif
#endmac
#if
#ifdef
#include
#includeoptional
#macro
#unmac

;
; Lavishscript Commands and Objects
;
[Keywords 1] 
AddAtom
Alias
APICall
APIReturn 
Arg
Arg 
Bool 
Break
Call
Case
Cat
cd
Commands
Continue
Declare
DeclareVariable
Default
DeleteAtom
DeleteVariable
Deletevar
Do
Else
Elseif
EndScript
Event 
Execute
ExecuteAtom
ExecuteFile
ExecuteQueued
Float 
FlushQueued
Head
If 
Int 
LavishScript 
Line
LSType
LSVersion
Math 
Module
NoOp
NoParse
OSExecute
QueueCommand
QueuedCommands 
Redirect
Return 
RunScript
Script 
Scripts
String 
Switch
System 
Tail
Test
Time 
TimedCommand
TopLevelObject
Turbo
Type 
Variable 
Wait
WaitFrame
WaitScript
While

;
; LavishScript datatypes
;
array
bool
boolptr
buffer
byte
byteptr
exists
file
filepath
float
floatptr
int
int64
int64ptr
intptr
lavishscript
math
mutablestring
point3f
rgb
rgbptr
script
string
stringptr
system
time
type
uint
uintptr
variable

;
; Lavish Object Members
;
Abs
Acos
AllowDebug
Asin
Atan
Calc
Calc64
Ceil
Centi
Compare
CompareCS
Cos
Count
CurrentDirectory
Date
Day
DayOfWeek
DayOfWeekPtr
Dec
Deci
Distance
Equal
EqualCS
Escape
EscapeQuotes
Filename
Find
Float
GetProcAddress
Hex
HomeDirectory
Hour
ID
Int
LeadingZeroes
Left
Length
Lower
LSModule
MemFree
MemTotal
Mid
Milli
Minute
Month
MonthPtr
Name
Night
Not
NotEqual
NotEqualCS
OS
OSBuild
Paused
Precision
Profiling
Rand
Replace
Reverse
Right
Round
RunningTime
Second
SecondsSinceMidnight
Sin
Sqrt
Tan
TickCount
Time12
Time24
Timestamp
Token
Type
TypeMember
TypeMember
Unsigned
Upper
Variable
Version
Year
YearPtr

;
; LavishScript Methods
;
AttachAtom
Clear
Dec
DetachAtom
DisableDebugging
DisableProfiling
DumpProfiling
DumpStack
EnableProfiling
End
Execute
ExecuteAtom
Inc
Pause
QueueCommand
RegisterEvent
Resume
Set
Squelch
ThisExecute
Toggle
Unregister
Unsquelch
Update

;
; LavishScript Scopes
;
local
script
global
globalkeep
object

;
; LavishScript Thingumys ??
;
function
atom
objectdef
member

[Keywords 2] 
;
; InnerSpace Commands
;
AddTrigger 
Bind 
ClipMouse 
Console 
ConsoleClear 
DIMouse 
DisplayInfo 
Echo 
EndRecord 
Events 
Exit 
Extension 
FileRedirect 
FPS 
Gamma 
GlobalBind 
HUD 
HUDGroup 
HUDSet 
IniRedirect 
Log 
Macro 
MaxFPS 
MouseClick 
MouseCursor 
MouseTo 
Navigation 
NavPath 
NavPoint 
Press 
Record 
RemoveTrigger 
Services 
Squelch 
Type 
Uplink 
Version 
WaitFor 
WindowFrame 
WindowPos 
WindowScale 
WindowSize 
WindowTaskbar 
WindowText 
WindowVisibility 
Wireframe 
XMLSetting 

;
; InnerSpace Datatypes
;
bind 
console 
dataset
display 
extension 
innerspace 
keyboard 
mouse 
navigation 
navpath 
navpoint 
navworld 

;
; InnerSpace objects
;
Console 
Display 
Extension 
Game 
InnerSpace 
Keyboard 
Mouse 
Navigation 
NavPath 
Profile 
Session 
Sessions 
SettingXML 
WaitFor

[Keywords 3]


[Keywords 4]

[Keywords 5]

[Keywords 6]
 

Cr4zyb4rd

Active Member
Went ahead and made this a sticky and modified the title a bit. Thanks to all those contributing their syntax files.
 
Status
Not open for further replies.
Top Bottom