[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Your favourite language!

Your favourite language!

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Pages: 1  2 

Posted by Nick Gammon   Australia  (23,001 posts)  [Biography] 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
[Go to top] top

Posted by Shadowfyr   USA  (1,786 posts)  [Biography] 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.
[Go to top] top

Posted by Nickpick   (24 posts)  [Biography] 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.
[Go to top] top

Posted by Nick Gammon   Australia  (23,001 posts)  [Biography] 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
[Go to top] top

Posted by Rakon   USA  (123 posts)  [Biography] 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.
[Go to top] 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.


56,159 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]