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.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Suggestions
➜ MUSHcode Unformatter
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Rashan2
USA (3 posts) Bio
|
| Date
| Wed 18 Jul 2001 02:47 PM (UTC) |
| Message
| Are there any plans to extend the capabilities of the Notepad window for formatting softcode? Specifically, I think what I'm looking for would be a builtin unformatting system that would take formatted softcode, strip out the comments, carrage returns, extra spaces and tabs, and send it to the world.
Optional features could include source control systems for logging of changes and revisions.
There are a couple of 'standard' unformatters out there for linux systems, including Unformat.pl writen by Adam Dray. Most of these are simply Perl or C scripts which do the deed for you. While I suppose it's possible to port one of these with the scripting capabilities of MUSHclient, I think a built-in one that used the same rules would be more intuitive and hopefully allow for additional functionality.
Thanks!
Rashan | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Thu 19 Jul 2001 01:08 AM (UTC) |
| Message
| There is an unformatter built into the "paste to world" function. If you go to the Configuration screen -> Paste/Send -> Paste and then click on the Help button you can read about it.
The idea is that you work on your formatted code in the notepad, and then copy it to the clipboard and do a "paste to world" (Shift+Ctrl+V) and click the "commented softcode" box.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | 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.
13,196 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top