mIRC Home    About    Download    Register    News    Help

Print Thread
#10900 13/02/03 07:43 AM
Joined: Feb 2003
Posts: 29
S
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Feb 2003
Posts: 29
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.

#10901 13/02/03 10:03 AM
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
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.....

#10902 13/02/03 10:17 AM
Joined: Jan 2003
Posts: 94
S
Babel fish
Offline
Babel fish
S
Joined: Jan 2003
Posts: 94
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
#10903 13/02/03 04:05 PM
Joined: Feb 2003
Posts: 29
S
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Feb 2003
Posts: 29
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.

Last edited by StriderGU; 13/02/03 04:05 PM.
#10904 13/02/03 05:08 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
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.
#10905 13/02/03 08:54 PM
Joined: Dec 2002
Posts: 39
F
Ameglian cow
Offline
Ameglian cow
F
Joined: Dec 2002
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)

#10906 13/02/03 10:35 PM
Joined: Dec 2002
Posts: 56
G
Babel fish
Offline
Babel fish
G
Joined: Dec 2002
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.

#10907 17/02/03 10:07 AM
Joined: Feb 2003
Posts: 12
A
ash Offline
Pikka bird
Offline
Pikka bird
A
Joined: Feb 2003
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.

#10908 17/02/03 12:04 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
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

Link Copied to Clipboard