Register forum user name Search FAQ

Gammon Forum

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 ➜ Plugin editor

Plugin editor

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


Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Fri 25 Jun 2004 12:21 PM (UTC)
Message
I'm thinking of writing a MUclient plugin editor (don't get excited, it's just a thought), and I was wondering if anyone knew of an XML parser I could use in VB to read the plugin structure.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #1 on Fri 25 Jun 2004 03:20 PM (UTC)
Message
I have found a parser but you lose all your XML formatting when you save as XML... Would that bother you in a plugin editor?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Shadowfyr   USA  (1,788 posts)  Bio
Date Reply #2 on Fri 25 Jun 2004 06:13 PM (UTC)
Message
It would bug me in any editor. Though it depends on how much it mangles the formatting. If it does it to the code, then definitely. It is hard enough sometimes to figure out what parts of a complex block of code belong to each other. If you intentionally indent it to make it easier, then something else comes along and eats that... Same thing if it uses tabs to format, those are 'never' consistent from one editor to the next and even when they are, god forbid you need to open it in an emergency in something like MS notepad.

Point is, reformatting the result in a sane way I could live with, but if it mangles that formating completely...
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #3 on Fri 25 Jun 2004 06:22 PM (UTC)
Message
Only the XML is reformatted, the code remains as is.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #4 on Fri 25 Jun 2004 06:30 PM (UTC)
Message
Would anyone be interested in helping me develop it? It's in VB... Or if you could write documentation, design a site or whatever?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #5 on Fri 25 Jun 2004 06:34 PM (UTC)
Message
Id be interested. You going to do it via sourceforge? or just work on it and email changes etc.
Either way, yeah, Im interested.

Might be easier to just write a routine yourself.
I assume you read the other thread about this.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #6 on Fri 25 Jun 2004 07:36 PM (UTC)
Message
Yes, I have posted it on SourceForge and i'm waiting approval, the Unix name is MUEdit, if it passes I'll upload the current files to the CVS. Sign up to the project if you want to help. I have (sort of) read the other thread, and I figure I'll address those problems as they come up :)

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #7 on Fri 25 Jun 2004 07:53 PM (UTC)
Message
By the way, Notepad++ can correctly highlight vbscript in XML files AND is aware of the XML structure (though it can't highlight XML and VB simultaneously) and can expand/contract the nodes. Pretty nice editor for plugins (until we write MUEdit, anyway :p)

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Shadowfyr   USA  (1,788 posts)  Bio
Date Reply #8 on Fri 25 Jun 2004 10:17 PM (UTC)

Amended on Fri 25 Jun 2004 10:20 PM (UTC) by Shadowfyr

Message
Yeah. Scite correctly hilights both as well, but also not at the same time. It would have been nice if they had provided hilighting of both, then just colored code different or something. :( This is imho the flaw in all editors, they only account for one language at a time, even when it is likely that they will be mixed.

Oh.. One thing that occured to me that would be nice, if the plugin editor could scan the XML and scripting code to determine which 'version' the plugin will run in. Currently, the plugin wizard assumes that you can only run it in the 'current' version of Mushclient and trying to figure out when some option of feature was actually added, so you can set the version to be compatible with older copies is annoying.
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #9 on Fri 25 Jun 2004 11:24 PM (UTC)
Message
I'll add it on the TODO list :) Care to help out with development?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Shadowfyr   USA  (1,788 posts)  Bio
Date Reply #10 on Fri 25 Jun 2004 11:31 PM (UTC)
Message
Ironically.. I have a mess of family over right now for the summer, so haven't the time I normally would to work on anything. :( But being in VB, if I come up with an idea, I can always make a quite proof of concept to show how it might work. Actual indepth programming of any of it though...
Top

Posted by Ked   Russia  (524 posts)  Bio
Date Reply #11 on Sat 26 Jun 2004 09:37 PM (UTC)
Message
Grrr, competition! Wanna race? :p
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #12 on Sat 26 Jun 2004 10:52 PM (UTC)
Message
I'm waiting for the sourceforge project to be accepted, I'll post here when it does so we can begin development.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
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.


26,972 views.

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

Go to topic:           Search the forum


[Go to top] top

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