mIRC Homepage
Posted By: Om3n Editor coloring - 31/08/03 04:34 AM
normal script line 0
; normal script line 1
normal script line 2
/* normal script line 3
normal script line 4 */

normal script line 5
#Group1 on
normal script line 7
#Group1 end
normal script line 9
#Group3 off
normal script line 11
#Group3 end

normal script line 13

Not necessarily those colors, but you get the idea. Just so comments and inactive groups can be noticed at a quick glance.
Posted By: CloCkWeRX Re: Editor coloring - 31/08/03 08:24 AM
Suggested many times before; and there are many solutions to this: ie IDEmirc on mircscripts.org is an addon package for editplus; a texteditor and lets you customise your syntax highlighting.

There's also some other editors around too.
Posted By: saxon Re: Editor coloring - 31/08/03 12:44 PM
Quote:
Suggested many times before; and there are many solutions to this


Well actually, this is a feature suggestion for mIRC, not a question of "How can I edit my script with syntax highlighting". So you see he is not asking for help or alternatives, and he is not asking for someone to present a 'solution', because there is no problem. He is infact suggesting a feature that he thinks would make mIRC better.
Posted By: Infernal_Demon Re: Editor coloring - 31/08/03 02:11 PM
You can use mEditor by RG. There is a copy on ms.org but that is not updated for mIRC 6.1, but I think it will be soon.
Posted By: starbucks_mafia Re: Editor coloring - 31/08/03 04:01 PM
Just the same this is something that would be much better built into the Script Editor itself.
Posted By: obsessed Re: Editor coloring - 31/08/03 11:41 PM
Aslong as the can edit the colours Im all for it
Posted By: Om3n Re: Editor coloring - 01/09/03 08:39 AM
Work arounds are always handy, but yea i thought this would be something much better built in. Hense the suggestion, sorry if it had been suggested in the past.
Posted By: kamelion Re: Editor coloring - 01/09/03 10:57 AM
I agree, this should be builth in, otherwise you have to copy/paste the code all the time... think about it Khaled smile
Posted By: Raccoon Re: Editor coloring - 01/09/03 09:57 PM
I personally wouldn't mind seeing the script editor separated from mIRC as it's own program. mIRC is nice and small at under 3 megs-- writing a comprehensive syntex checking/ coloring editor would probably push that well over 5 megs.

It wouldn't be difficult presently to use an external script editor program. mIRC has the option to monitor when external changes to a script file take place, so it can reload that file when necessary. Alt+R > Options > Monitor File Changes. You can also write your own editor that communicates with mIRC via DDE or Send Message, commanding mIRC to load/reload/unload... etc etc.

I think an external editor could even be made open source, allowing others to contribute to the effort, or let them modify the syntex-checking to conform to their own scripting style. An internal editor could not be made open source, though.

- Raccoon
© mIRC Discussion Forums