View unanswered posts | View active topics It is currently Sun Apr 19, 2026 10:01 am



Reply to topic  [ 30 posts ]  Go to page Previous  1, 2
 TWXProxy Highlighter for the ConTEXT Editor 
Author Message
Ensign

Joined: Thu Jan 23, 2003 3:00 am
Posts: 206
Location: USA
Unread post 
I changed the links to the files due to the creation of my TW website..heh Organizatin is KEY! :P

_________________
--==[ http://tradewars.wotok.com ]==--

rm -rf /bin/laden

Image


Mon May 17, 2004 12:02 pm
Profile ICQ WWW
Staff Sergeant

Joined: Sun Mar 24, 2002 3:00 am
Posts: 16
Unread post 
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
Profile YIM WWW
Ensign

Joined: Thu Jan 23, 2003 3:00 am
Posts: 206
Location: USA
Unread post 
Yea.. VI's an excellent editor.. however, it doesn't highlight syntax ;)

_________________
--==[ http://tradewars.wotok.com ]==--

rm -rf /bin/laden

Image


Tue Jun 08, 2004 7:42 pm
Profile ICQ WWW
Staff Sergeant

Joined: Sun Mar 24, 2002 3:00 am
Posts: 16
Unread post 
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
Profile YIM WWW
Staff Sergeant

Joined: Sun Mar 24, 2002 3:00 am
Posts: 16
Unread post 
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
Profile YIM WWW
Lieutenant

Joined: Sat Mar 03, 2001 3:00 am
Posts: 592
Location: USA
Unread post 
Heh nope...ive found somethin I really like...not changing now.


Thu Jun 10, 2004 1:16 am
Profile ICQ YIM WWW
Staff Sergeant

Joined: Sun Mar 24, 2002 3:00 am
Posts: 16
Unread post 
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
Profile YIM WWW
Ensign

Joined: Thu Jan 23, 2003 3:00 am
Posts: 206
Location: USA
Unread post 
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

Image


Fri Jun 11, 2004 12:35 am
Profile ICQ WWW
Staff Sergeant

Joined: Sun Mar 24, 2002 3:00 am
Posts: 16
Unread post 
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
Profile YIM WWW
Commander

Joined: Thu Feb 20, 2003 3:00 am
Posts: 1529
Location: USA
Unread post 
VI is a pain in the Butt. You have to actually read the docs to use it, which is just asking too much :P


Fri Jun 11, 2004 3:35 am
Profile ICQ
Ensign

Joined: Thu Jan 23, 2003 3:00 am
Posts: 206
Location: USA
Unread post 
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

Image


Fri Jun 11, 2004 12:36 pm
Profile ICQ WWW
Staff Sergeant

Joined: Sun Mar 24, 2002 3:00 am
Posts: 16
Unread post 
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
Profile YIM WWW
Lieutenant

Joined: Sat Mar 03, 2001 3:00 am
Posts: 592
Location: USA
Unread post 
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
Profile ICQ YIM WWW
Lieutenant

Joined: Sat Mar 03, 2001 3:00 am
Posts: 592
Location: USA
Unread post 
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
Profile ICQ YIM WWW
Ensign

Joined: Thu Jan 23, 2003 3:00 am
Posts: 206
Location: USA
Unread post 
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

Image


Fri Jun 11, 2004 9:59 pm
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 30 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 6 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.