Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Sandwich on June 29, 2002, 06:26:56 am

Title: Textpad TBL syntax definition file (for color-coding)
Post by: Sandwich on June 29, 2002, 06:26:56 am
For all those of you who use TextPad (http://www.textpad.com/) to edit .TBL's, I've made a syntax definition file (http://www.brainzipper.com/tbl.syn). This is the thing that will let you see the tables with color-coding, making things easier.

(http://www.brainzipper.com/textpad_tbl_syntax.png)

If anyone's interested, lemme know and I'll post instructions on how to install it, although it does say how in the help documentation.
Title: Textpad TBL syntax definition file (for color-coding)
Post by: karajorma on June 29, 2002, 09:26:55 am
Where do you get textpad from?
Title: Textpad TBL syntax definition file (for color-coding)
Post by: TheCelestialOne on June 29, 2002, 09:36:42 am
Quote
Originally posted by karajorma
Where do you get textpad from?


He posted the link in his post... Textpad (http://www.textpad.com/)
Title: Textpad TBL syntax definition file (for color-coding)
Post by: karajorma on June 29, 2002, 09:54:11 am
So he did. :) $27 is a bit steep for a text editor though. I think I`ll stick to notepad and wordpad :)
Title: Textpad TBL syntax definition file (for color-coding)
Post by: TheCelestialOne on June 29, 2002, 09:59:02 am
$27 !?  :eek: :mad: :mad2:
Title: Textpad TBL syntax definition file (for color-coding)
Post by: Killfrenzy on June 29, 2002, 03:41:59 pm
No wonder nobody's heard of it...:rolleyes:
Title: Textpad TBL syntax definition file (for color-coding)
Post by: WMCoolmon on June 29, 2002, 03:45:07 pm
PHPEdit (http://www.phpedit.com)'s free...just put "" around the TBL contents and it'll color code it :D.
Title: Textpad TBL syntax definition file (for color-coding)
Post by: TheCelestialOne on June 29, 2002, 03:45:38 pm
Quote
Originally posted by Killfrenzy
No wonder nobody's heard of it...:rolleyes:


:nod:

I for one wont even pay a cent for a texteditor as long as I have my beloved Wordpad.
Title: Textpad TBL syntax definition file (for color-coding)
Post by: Killfrenzy on June 29, 2002, 03:51:39 pm
Likewise - wordpad works just fine! :)
Title: Textpad TBL syntax definition file (for color-coding)
Post by: TheCelestialOne on June 29, 2002, 04:14:34 pm
Why colors anyway? As long as your not stupid you can see black on white...

Colors get me confused anyway...
Title: Textpad TBL syntax definition file (for color-coding)
Post by: vyper on June 29, 2002, 06:50:56 pm
Quite helpful Sandwich :D
Title: Textpad TBL syntax definition file (for color-coding)
Post by: mikhael on June 30, 2002, 12:18:05 pm
Quote
Originally posted by TheCelestialOne
Why colors anyway? As long as your not stupid you can see black on white...

Colors get me confused anyway...


I don't know about table editting, but it can't be too different from source code and script editting.

Syntax highlighting is absolutely brilliant, especially in cases where you have grammar/syntax errors in your code. A good example is a missing double-quote. Most syntax highlighting schemes set off literal text between quotes in a different color. If you miss a closing double-quote (or indeed, a semicolon or block closing atom, etc), it becomes immediately, visibly obvious.
Title: Textpad TBL syntax definition file (for color-coding)
Post by: mikhael on June 30, 2002, 12:45:17 pm
BTW, if you want to try out a syntax highlighting editor for free, you can grab ConTEXT (http://fixedsys.com/context/). You would, mind you, have to write your own TBL syntax highlighter for it. It already knows a pretty fair number of others though:

C/C++
Delphi/Pascal
Java
Java Script
Visual Basic
Perl/CGI
HTML
SQL
FoxPro
80x86 assembler
Python
PHP
Tcl/Tk

You can download others from their website as well:

 68000 Assembler  
 80196 Assembler  
 80C166 Assembler
 a51 Assembler
 ABAP/4
 Ada 95
 AnSys Macros
 AutoIt  
 AutoLisp  
 AWK  
 Clipper  
 Clipper 5.2
 CLIPS
 Cobol
 Cobol 85
 Cold Fusion
 ConTEXT Highlighter Files
 CSharp  
 CSS  
 CyPro Project File
 DCL Language  
 DOS Batch  
 Eggdrop & IRCD Config Files
 Euphoria  
 FirstClass Rapid Application Developer (FCRAD)
 Flash 5 ActionScript
 FrameScript
 HP48  
 IDL
 IPTables Shell Script
 JCL (Job control language)  
 KiXtart  
 KIX2001 (RC1 - v4.0.0.0 Build 45)
 Latex DOWNLOAD
 Liberty BASIC  
 MASM
 Matlab 6
 MIPS Assembler
 NSIS Script
 Panther
 Palm RCP (resource)
 PCBus  
 PIC Assembler
 PowerPC GNU Assembler  
 Prolog
 RapidQ
 Rexx
 Ruby
 SAS
 SciLab  
 SkdTXT
 SML
 SNMP MIB
 SQR
 SWI Prolog
 VHDL
 Visual IRC v2.0
 Windows resource scripts
 x51 Assembler


Enjoy.
Title: Textpad TBL syntax definition file (for color-coding)
Post by: TheCelestialOne on June 30, 2002, 01:19:44 pm
Quote
Originally posted by mikhael
I don't know about table editting, but it can't be too different from source code and script editting.


*ahum*

Difficulty levels are quite different...
Title: Textpad TBL syntax definition file (for color-coding)
Post by: Killfrenzy on June 30, 2002, 03:19:58 pm
Somebody point out to Mikhael the error of his ways! :D:D
Title: Textpad TBL syntax definition file (for color-coding)
Post by: mikhael on June 30, 2002, 09:40:43 pm
Quote
Originally posted by TheCelestialOne


*ahum*

Difficulty levels are quite different...


Good point. I couldn't edit a table with any form of skill, but I can program/script. :)
Title: Textpad TBL syntax definition file (for color-coding)
Post by: TheCelestialOne on July 01, 2002, 12:20:49 am
Quote
Originally posted by mikhael


Good point. I couldn't edit a table with any form of skill, but I can program/script. :)


You can't edit tbl's but can script/program???:confused: Now THATS strange...
Title: Textpad TBL syntax definition file (for color-coding)
Post by: Bobboau on July 01, 2002, 12:45:03 am
um... have you looked at the tabels, there nothing but a list of varables you set for a ship/weapon, it's not even a language
Title: Textpad TBL syntax definition file (for color-coding)
Post by: TheCelestialOne on July 01, 2002, 07:33:37 am
I can't program/script at all... But still I understood the tbl files the first time i looked at them.:D They are very simple to understand...
Title: Textpad TBL syntax definition file (for color-coding)
Post by: Darkage on July 01, 2002, 09:59:31 am
TBL edeting is very easy. Even my sister understands it. And she almost never uses a computer. wel only word but thats it:)
Title: Textpad TBL syntax definition file (for color-coding)
Post by: Unknown Target on July 01, 2002, 10:08:55 am
Notepad forever!!

EDIT: .tbls are easy to understand. I figured out how to do some strange and freaky stuff to them the first day I got the dmtoolset.:nod:
Title: Textpad TBL syntax definition file (for color-coding)
Post by: Sandwich on July 01, 2002, 06:16:48 pm
Ok, I think we all get the picture: Mikhael is either lazy or, uhm.... selectively talented. Either way, he deserves a good laughing-at, right?
...
...
...
:nervous:
...
...
uhmm... anybody there?
...
...
...
:doh:
Title: Textpad TBL syntax definition file (for color-coding)
Post by: Unknown Target on July 01, 2002, 06:25:00 pm
Can you make a plugin for something else? Like *sais in reverance* Notepad, or something free?
Title: Textpad TBL syntax definition file (for color-coding)
Post by: Sandwich on July 01, 2002, 06:34:11 pm
Quote
Originally posted by Unkown Target
Can you make a plugin for something else? Like *sais in reverance* Notepad, or something free?


I don't program; the syntax file was just a bunch of text. Sorry.
Title: Textpad TBL syntax definition file (for color-coding)
Post by: Woomeister on July 02, 2002, 02:39:51 pm
If you need to check syntax just edit the file in notepad then open it in tableview...

(http://www.3dap.com/hlp/hosted/inferno/tables.jpg)
Title: Textpad TBL syntax definition file (for color-coding)
Post by: Sandwich on July 02, 2002, 02:47:48 pm
Quote
Originally posted by Woomeister
If you need to check syntax just edit the file in notepad then open it in tableview...

*insert image here*


What the...??? What program is _that_? (obvious answer aside...)
Title: Textpad TBL syntax definition file (for color-coding)
Post by: Woomeister on July 02, 2002, 02:53:47 pm
That's tableview 2, I only found it a few minutes ago while looking for a vp view link for someone.

Comes with the new VP View:

http://www.descent-network.com/cgi-bin/descman.cgi?module=vpview20
Title: Textpad TBL syntax definition file (for color-coding)
Post by: Sandwich on July 02, 2002, 03:06:56 pm
Quote
Originally posted by Woomeister
That's tableview 2, I only found it a few minutes ago while looking for a vp view link for someone.

Comes with the new VP View:

http://www.descent-network.com/cgi-bin/descman.cgi?module=vpview20


:jaw: You mean... Heiko's not dead?? YAYS!!!!!

To Heiko: Finish MODVIEW32 please!!! ;)
Title: Textpad TBL syntax definition file (for color-coding)
Post by: Woomeister on July 02, 2002, 03:09:17 pm
Quote
V2.0 Beta 05 Build 108 (Released 02/11/2001)  Part of RFKIT Beta 01


Well this was released a very long time ago...

Edit:
The site says 02/11/2002 while the readme says 02/11/2001
Title: Textpad TBL syntax definition file (for color-coding)
Post by: Sandwich on July 02, 2002, 03:17:49 pm
Quote
Originally posted by Woomeister


Well this was released a very long time ago...


True - that's before the source code release. I wonder if he's still planning on continuing development.