| Author |
Message |
|
Wotok
Ensign
Joined: Thu Jan 23, 2003 3:00 am Posts: 206 Location: USA
|
I changed the links to the files due to the creation of my TW website..heh Organizatin is KEY! 
_________________ --==[ http://tradewars.wotok.com ]==--
rm -rf /bin/laden
|
| Mon May 17, 2004 12:02 pm |
|
 |
|
smartidiot
Staff Sergeant
Joined: Sun Mar 24, 2002 3:00 am Posts: 16
|
Gvim, a newer version of vi is great.
http://www.vim.org/
VI Improved. It does anything anyone would ever want in an editor. There are Linux, Windows and other OS versions of it.
_________________ Smart Idiot
Smart Idiot's Universe TWGS
telnet://az.homelinux.net:2002
|
| Mon Jun 07, 2004 9:34 pm |
|
 |
|
Wotok
Ensign
Joined: Thu Jan 23, 2003 3:00 am Posts: 206 Location: USA
|
Yea.. VI's an excellent editor.. however, it doesn't highlight syntax 
_________________ --==[ http://tradewars.wotok.com ]==--
rm -rf /bin/laden
|
| Tue Jun 08, 2004 7:42 pm |
|
 |
|
smartidiot
Staff Sergeant
Joined: Sun Mar 24, 2002 3:00 am Posts: 16
|
Mine colors comments and strings by default and it is simple to make it highlight other things. Maybe I will make a syntax file and post it here.
_________________ Smart Idiot
Smart Idiot's Universe TWGS
telnet://az.homelinux.net:2002
|
| Tue Jun 08, 2004 9:17 pm |
|
 |
|
smartidiot
Staff Sergeant
Joined: Sun Mar 24, 2002 3:00 am Posts: 16
|
Alright,
I made a VIM syntax file for TWX *.ts files.
To download them goto
http://tradewars.webhop.net/Editor/
First download gvim62 and install it.
I assume you installed it in C:\VIM
Then download _gvimrc and _vimrc and place them in C:\Vim.
Then download filetype.vim and place it in C:\Vim\vim62 overwriting the old file.
Then download ts.vim and place it in C:\Vim\vim62\syntax
If you want a registry entry that adds "Send to gvim" when you right click on any file download gvim.reg and run it to install in the registry.
Vim should then highlight *.ts files. Open one in the editor and check it out.
Now I am just doing this so their are more options for TWX script writers, not to say that ConTEXT is not a good editor. Try both and use the one you like best!
_________________ Smart Idiot
Smart Idiot's Universe TWGS
telnet://az.homelinux.net:2002
|
| Wed Jun 09, 2004 2:38 pm |
|
 |
|
PHX
Lieutenant
Joined: Sat Mar 03, 2001 3:00 am Posts: 592 Location: USA
|
Heh nope...ive found somethin I really like...not changing now.
|
| Thu Jun 10, 2004 1:16 am |
|
 |
|
smartidiot
Staff Sergeant
Joined: Sun Mar 24, 2002 3:00 am Posts: 16
|
I did not say you should change if you have something. I was just posting it so there is an option. Vim is a multiplatform editor. It is available for almost all OS's. If you use Linux at all that is a good reason to use the Vim editor. Glad you found one you like though.
_________________ Smart Idiot
Smart Idiot's Universe TWGS
telnet://az.homelinux.net:2002
|
| Thu Jun 10, 2004 2:07 pm |
|
 |
|
Wotok
Ensign
Joined: Thu Jan 23, 2003 3:00 am Posts: 206 Location: USA
|
Vi's not exactly user friendly. Personally, I love VI, but it's a small learning curve to use it and most ppl just want to edit stuff the wysiwyg way.
_________________ --==[ http://tradewars.wotok.com ]==--
rm -rf /bin/laden
|
| Fri Jun 11, 2004 12:35 am |
|
 |
|
smartidiot
Staff Sergeant
Joined: Sun Mar 24, 2002 3:00 am Posts: 16
|
Vi has only a small learning curve. Once it is learned then it works everywhere! wysiwyg? A text script is still text in either editor. There is no gui editing for TWX scripts is there?
All I wanted was to give people more choices. 
_________________ Smart Idiot
Smart Idiot's Universe TWGS
telnet://az.homelinux.net:2002
|
| Fri Jun 11, 2004 1:29 am |
|
 |
|
Harley Nuss
Commander
Joined: Thu Feb 20, 2003 3:00 am Posts: 1529 Location: USA
|
VI is a pain in the Butt. You have to actually read the docs to use it, which is just asking too much 
|
| Fri Jun 11, 2004 3:35 am |
|
 |
|
Wotok
Ensign
Joined: Thu Jan 23, 2003 3:00 am Posts: 206 Location: USA
|
Hehe.. yea, I spent a bit learning it years ago, but once you use it for a while, all the key combinations become second nature. Plus, you can use VI to bypass sudo root and get to REAL root.. muuaaahahaa
_________________ --==[ http://tradewars.wotok.com ]==--
rm -rf /bin/laden
|
| Fri Jun 11, 2004 12:36 pm |
|
 |
|
smartidiot
Staff Sergeant
Joined: Sun Mar 24, 2002 3:00 am Posts: 16
|
Yeah, it is a bit confusing until you understand how it works. For me I use many different operating systems. It is nice to have one common editor I can use anywhere I log in. I understand if others don't use it. But for me it is the best.
_________________ Smart Idiot
Smart Idiot's Universe TWGS
telnet://az.homelinux.net:2002
|
| Fri Jun 11, 2004 12:52 pm |
|
 |
|
PHX
Lieutenant
Joined: Sat Mar 03, 2001 3:00 am Posts: 592 Location: USA
|
quote: Originally posted by Wotok
I updated the highlighter file. I fixed the problem where words with _ and . in them were two different colors..hehe Also, added some coloring to highlight brackets when you select one (it highlights the paired brackets).
The file is located here: http://tradewars.wotok.com/files/utils/twxproxy.chl
Just copy it to your /highlighters folder under ConTEXT
Using the new highlighter, when the cursor is next to a ( or )it automatically highlights it and the opposing ( or ), this is extremely annoying as (even though it won't) I feel like if I type something it is going to overwrite ( ). Was this an intended effect? I have returned to the previous version of your highlighter.
|
| Fri Jun 11, 2004 6:03 pm |
|
 |
|
PHX
Lieutenant
Joined: Sat Mar 03, 2001 3:00 am Posts: 592 Location: USA
|
Would be better if it only highlighted the opposite when you intentionally highlight the one of them, not just because the cursor is next to it.
|
| Fri Jun 11, 2004 6:05 pm |
|
 |
|
Wotok
Ensign
Joined: Thu Jan 23, 2003 3:00 am Posts: 206 Location: USA
|
If you want to disable that bracket highlighter option, find the line with
MatchedBracesCol: clYellow clBlue
and delete it. It will be at the end of the file.
_________________ --==[ http://tradewars.wotok.com ]==--
rm -rf /bin/laden
|
| Fri Jun 11, 2004 9:59 pm |
|
 |
|