mIRC Home    About    Download    Register    News    Help

Topic Options
#10900 - 13/02/03 07:43 AM Syntax Highlight
StriderGU Offline
Ameglian cow

Registered: 13/02/03
Posts: 29
Loc: Sweden
Would be nice if the scripts in the editor was syntax highlighted. So for example if/esle/while was in one color, varables in one, and comments in one, and so on.

Top
#10901 - 13/02/03 10:03 AM Re: Syntax Highlight
The_Game Offline
Hoopy frood

Registered: 10/12/02
Posts: 1237
Loc: Michigan, USA
lemme guess so any mistakes can be pointed out easier right? LOL Just kiddin ...although not a bad idea....would kinda make it a bit easier for making scripts.....

Top
#10902 - 13/02/03 10:17 AM Re: Syntax Highlight
Sabby Offline
Babel fish

Registered: 03/01/03
Posts: 94
Loc: Michigan, USA
I agree would be alot easier... but shouldnt come in with mIRC because the more stuff you put in mIRC the slower it gets.

Maybe it could come as a side program or something.
_________________________
-
E-Mail: mirc_sabby@hotmail.com
Network: irc.enterthegame.com
Channel: #Helpdesk

Top
#10903 - 13/02/03 04:05 PM Re: Syntax Highlight
StriderGU Offline
Ameglian cow

Registered: 13/02/03
Posts: 29
Loc: Sweden
But you forget that computers tech gets double speed every 20months, and I dont think colors will slow down the viewing much. A option to turn it of is a good thing to have with those who run a 386 :tongue:. Well actually options is always good.


Edited by StriderGU (13/02/03 04:05 PM)

Top
#10904 - 13/02/03 05:08 PM Re: Syntax Highlight
starbucks_mafia Offline
Hoopy frood

Registered: 09/12/02
Posts: 2962
Loc: Norwich, UK
The available technology may double every 20months, what people actually use is something ike 3 years behind that. However I don't think that syntax highlighting would have any effect on mIRC's overall speed.
_________________________
Spelling mistakes, grammatical errors, and stupid comments are intentional.

Top
#10905 - 13/02/03 08:54 PM Re: Syntax Highlight
fraggle Offline
Ameglian cow

Registered: 09/12/02
Posts: 39
I KNOW I'm being fussy...

Quote:
The available technology may double every 20months, what people actually use is something ike 3 years behind that


Which means that what people uses ALSO doubles every 20 months (if they are consistently 3 years behind the cutting edge :P)

Top
#10906 - 13/02/03 10:35 PM Re: Syntax Highlight
Gon_ Offline
Babel fish

Registered: 21/12/02
Posts: 56
I can't see any reason why a syntax highlighter in the mIRC editor would ever slow mIRC, If it did slow mIRC on old computers.. im sure a simple, and inevitable "Enable syntax highlighting" option would fix it.

Top
#10907 - 17/02/03 10:07 AM Re: Syntax Highlight
ash Offline
Pikka bird

Registered: 17/02/03
Posts: 12
I'd also like to see syntax highlighting in mIRC. It wouldn't make a noticeable difference in performance either, and like Gon said, it could be turned on and off.

What would the syntax be coloured like though? There's only a few types of constructs in mirc. %vars would be one colour, $identifiers another, and probably the brackets for identifiers would be coloured differently.. and commands. This wouldn't really be that helpful since all of that stuff is obvious and stands out. Syntax colouring is generally more useful in a language with quoted strings and different data types etc. One thing that might be kind of useful is colouring mirc commands one colour, user commands (aliases) another, and then unknown commands another.

None the less, it would be a nice aesthetic feature.

Top
#10908 - 17/02/03 12:04 PM Re: Syntax Highlight
landonsandor Offline
Hoopy frood

Registered: 12/12/02
Posts: 1527
Loc: state of confusion
Actually, I think what people (not all by any means) really want it to do is error correct. They want it to tell them exactly which bracket is in error so they could quickly add/remove a bracket where needed. For example:

/blah {
stuff
more stuff
if (%stuff == $stuff) {
stuff1
stuff2
stuff3
}
halt

Which would then say: "Hey buddy, you forgot a bracket someplace with this code here". People can correct my interpretation cool Personally, I'd never use it with this machine since it would eat up valuable resources if Im doing a lot of mirc coding (if it worked the way Edit Pad Pro works - it takes a while to reset all the colors to their proper "hilited" format)
_________________________
Those who fail history are doomed to repeat it

Top