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

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

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

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Your favourite language!

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Pages: 1  2 

Posted by Nick Gammon   Australia  (18,769 posts)  [Biography] bio   Forum Administrator
Date Reply #15 on Tue 09 May 2006 09:29 PM (UTC)  quote  ]
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,774 posts)  [Biography] bio
Date Reply #16 on Wed 10 May 2006 12:01 AM (UTC)  quote  ]
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.

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Nickpick   (24 posts)  [Biography] bio
Date Reply #17 on Wed 10 May 2006 08:40 AM (UTC)  quote  ]
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  (18,769 posts)  [Biography] bio   Forum Administrator
Date Reply #18 on Wed 10 May 2006 10:00 AM (UTC)  quote  ]
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)  quote  ]
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.


6,775 views.

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

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

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

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]