Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ MUSHclient
➜ General
➜ Your favourite language!
Posting of new messages is disabled at present.
Refresh page
Pages: 1
2
Posted by
| Nick Gammon
Australia (23,122 posts) Bio
Forum Administrator |
Date
| Reply #15 on Tue 09 May 2006 09:29 PM (UTC) |
Message
| On the subject of editors, there was someone a while back that wanted an editor that would edit plugins but syntax colour the script part correctly (Shadowfyr maybe).
It seems Crimson Editor may do that, although I haven't actually tested it. In its syntax colouring configuration file you can specify "ranges" for colouring. An example is PHP files, where you syntax colour scripts between <?php ... ?> differently from the HTML code which is outside those delimiters.
Thus, it would seem quite possible to have it colour between <script> ... </script> differently to elsewhere, which should solve the problem.
You could also probably colour XML keywords (like "trigger", "alias" and so on), in the non-script part.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Shadowfyr
USA (1,788 posts) Bio
|
Date
| Reply #16 on Wed 10 May 2006 12:01 AM (UTC) |
Message
| Heh, don't pick on me Nick. ;) Seriously though, the discussion was with a number of us and about if Mushclient might at some point support something like Scintilla in its own editor. This was based on the fact that some of use already use one called SciTE, which is based on Scintilla. Crimson may be a bit more versitile though, adding coloring, like making both the XML and script parts colored, would require a major recompile of scintilla. | Top |
|
Posted by
| Nickpick
(24 posts) Bio
|
Date
| Reply #17 on Wed 10 May 2006 08:40 AM (UTC) |
Message
| Hmmm.. I though we could select the editor which MUSHClient uses for script editing. Well, at least the one you get when you edit plug-in. | Top |
|
Posted by
| Nick Gammon
Australia (23,122 posts) Bio
Forum Administrator |
Date
| Reply #18 on Wed 10 May 2006 10:00 AM (UTC) |
Message
| Yes indeed. The editor you choose in the Scripting configuration tab (if any) is used in preference to the inbuilt notepad, for both the world's script file, and editing plugins. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Rakon
USA (123 posts) Bio
|
Date
| Reply #19 on Fri 19 May 2006 08:31 AM (UTC) |
Message
|
Quote: On the subject of editors, there was someone a while back that wanted an editor that would edit plugins but syntax colour the script part correctly...
Yes, Cedit can color different languages in one file, I used to remeber how to do this, I know its automatic for HTML. When I remeber how, I'll post here for you guys.
--Rakon |
Yes, I am a criminal.
My crime is that of curiosity.
My crime is that of judging people by what they say and think, not what they look like.
My crime is that of outsmarting you, something that you will never forgive me for. | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
61,976 views.
This is page 2, subject is 2 pages long:
1
2
Posting of new messages is disabled at present.
Refresh page
top