What text editor do you use?

cybertf2k4

Active Member
Just curious to see what text editors people are using when writing/editing scripts and if it's anything but notepad do you have any syntax highlighting in that program?

-CyberTF
 

Pygar

EQ2Bot Specialist
I use UltraEdit32. I set it for html files so that I get the normal javacsript formating that I'm used to using.

I also use a scripting font, ProggySquareBP. It is far more pleasant to code with and has over sized and distinct script characters like ([{}]) so you don't easily miss a syntax issue.

I've never bothered to configure LS specific syntax or function completion, though it isn't difficult to do.
 

Amadeus

The Maestro
Staff member
I thought somewhere someone did a syntax highlighter for ultraedit. I know, at least, someone did it for the MacroQuest syntax.

That would be a nice project for someone though as UEdit is probably the best thing out there for text editing script files.
 

cybertf2k4

Active Member
I forgot to put what i use in my original post. I'm using EditPadPro. I've actually been using it for years now and i love it. The only issue I have is it uses regular expressions for syntax highlighting and i could never really get my head around it.

I think I own UEdit also so i might dust it off and give it a try.

-CyberTF
 

Smyrk

Active Member
Ultraedit

There are a couple versions of this over at ISMods.com as I recall, but here is the syntax highlighting I grabbed from there which you can dump in your wordfile.txt

Quick fix for the comments issue, just grab the first line.

***note*** if you haven't updated your wordfile.txt before for ultraedit, change the /L12 on the first line to whatever the next number is from your current wordfile.txt. I think the latest version IDM Software distributes goes to /L13 by default, so you'd want to use /L14. YMMV
Code:
/L12"InnerSpace" Line Comment = ; Block Comment On = /* Block Comment Off = */ String Chars = "' File Extensions = ISS ICE 
/Delimiters = ~!@%^&*()+{}[]:;"'	, .?
/Function String = "%function[ ^t*]+^([a-zA-Z_0-9]+^)"
/Indent Strings = "{" 
/Unindent 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 

/C3"Look at me 2 (orange)" 
AddTrigger 
Turbo 
wait 
WaitFrame 
waitframe 
ExecuteQueued FlushQueued QueueCommand 
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 
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 
Calc Centi Color Combo Command Compare CompareCS Cos Count 
Date Day DayOfWeek Dec Deci DesktopHeight DesktopWidth Dimensions Distance 
Echo Equal EqualCS 
Filename Filter Find Float Foreground 
GetFloat GetInt GetString 
Height Hex Hour 
Int 
Keys 
Left Length Lower 
Member MemFree MemTotal Mid Milli Minute Monitor Month 
Name Night Not NotEqual NotEqualCS 
Open OS OSBuild 
Precision 
Rand Reverse Right 
Second SecondsSinceMidnight Sin Size Sqrt System 
Tan Time12 Time24 Token Timestamp RunningTime 
Upper 
ViewableHeight ViewableWidth ViewableX ViewableY 
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 
capturebegin captureend cd clipmouse commands console consoleclear consolevisiblelines continue 
do declare declarevar declarevariable delete deletevar deletevariable dimouse displayinfo 
else echo end endscript execute executefile exit extension 
fps 
game games globalbind 
hudadd hudlist hudremove hudset 
if int 
local log 
maxfps mkdir mouseclick mouseto multiline 
name noparse 
press profile profiles 
relay rename rm rmdir run runscript 
switch script services sessions string squelch 
timedcommand type 
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
 
Last edited:

Amadeus

The Maestro
Staff member
Now someone just needs to add ISXEQ2/ISXVG/etc. keywords to it.

If requested, I can provide files that contain every datatype member/method for any extension I do.
 

Temil2005

Active Member
personaly, I use Notepad++
it will allow you to add custom colors, along with text completion, based on other ISS, XML, etc files that you currently have located to try and complete the line for you properly. Sometimes, it is wrong as there are alot of way to write up the code and commands for different things, but all in all..the color coding for most all the commands seems to work well and i like it.. just my 2secs :D
 

Cr4zyb4rd

Active Member
If that's the same Ultraedit syntax file I'm using (the latest posted on ISMods), it works pretty well. The only problem I've seen is that apostrophes nested in-line comments (and maybe multi-line comments) tend to break it...probably fixable, but I'm to lazy to re-learn the syntax files as I haven't messed with it in years. What I haven't found is a good solution for handling LavishSettings-style xml, but then UltraEdit doesn't do xml natively anyway, and relies a lot on external tools.

Adding ISXGames keywords probably wouldn't be of much use. In lavishscript, most of the "magic" happens inside of the ${} syntax and anything else is either an operator or a keyword anyway. <shrug>
 

Smyrk

Active Member
Yeah, cr4zy, I suspect its the same one, as it has the same issues you are describing. Its one of the things thats on my ToDo list to muck around with it and fix it 'when I get time'. Time is elusive, however.

And while you are probably right about the keywords, it doesn't hurt to at least highlight them so you know you are using one or at least spelled it correctly. :)

Ama, if you want to send me said file with the data types, members and methods, I'll take a look at spending some time to merge them in for sake of completeness.
 

SuperNoob

Active Member
Using UltraEdit here with no complaints. Still use vi for quick edits, but UltraEdit and UltraCompare are a nice combo for the rest.

-SN
 

IeU

Active Member
dont you have to buy UltraEdit32 ?

edit,

was searching for UltraEdit32 on my Torrent Sites and could not find a damm thing, but UltraEdit, i found tons :)
 
Last edited:

SuperNoob

Active Member
*sigh* missed this was an old post, no need to say the same thing I did six months ago
 
Last edited:
Top Bottom