Armageddon General Discussion Board

General => Code Discussion => Topic started by: Tiernan on January 31, 2006, 08:26:06 PM

Title: In-game Editor Updates
Post by: Tiernan on January 31, 2006, 08:26:06 PM
I've spent a couple weeks working on the in-game text editor to fix a couple bugs and present a consistent interface.

Features & Fixes:To be copied over when the server is rebooted).[/list]Here's what the in-editor help list looks like:Help on text editing:
.c          clear the text.
.d#         delete # lines from the end of the text.
.f          format the text into ONE paragraph.
.h          show this message.
.i          format the text into one or more, indented paragraphs.
.p          proof / spell check the text.
.q | '~'    terminate editing.
.r          display a 75-character ruler.
.s          show the text so far.
.x <cmd>    execute command <cmd>.


Here's a sample of how the editor first appears when writing on an in-game message board:Write your message.
Text Editor: (4096 character maximum) [create mode]
Type .h on a new line for help.  Terminate with '~' or .q on a new line.
[---|----|----|----|----|----|----|----|----|----|----|----|----|----|----]
->

Limitations:

I wasn't able to find a quick solution for deleting specific lines other than the last X lines or a way to begin inserting into the text at a specific line number.  I have some ideas on how these may be done within the existing editor framework, however they are particularly complicated and I wanted to get these changes into the mainstream.  I'll revisit making further editor updates based on time, need, and priority.  I think these changes will make dealing with the editor less cumbersome.
Title: In-game Editor Updates
Post by: Yokunama on January 31, 2006, 08:34:40 PM
Thanks!

I've always wished that ".h" to actually did something. :D
Title: In-game Editor Updates
Post by: Larrath on January 31, 2006, 08:36:04 PM
Hallelujah.
Title: In-game Editor Updates
Post by: spawnloser on January 31, 2006, 08:45:02 PM
Beautiful, Tiernan.
Title: In-game Editor Updates
Post by: Seeker on January 31, 2006, 08:57:56 PM
Love the ruler bar, and adore ".h".


Seeker
Title: In-game Editor Updates
Post by: Red Sunrise on January 31, 2006, 09:04:44 PM
Thanks so much!
Title: In-game Editor Updates
Post by: moab on January 31, 2006, 09:57:42 PM
This is very cool.

Thanks!

*wince*

Can we get a replace command?

like .r sowrd sword

*grovel*
Title: Re: In-game Editor Updates
Post by: EvilRoeSlade on February 01, 2006, 12:41:38 AM
Quote from: "Tiernan"Limitations:

I wasn't able to find a quick solution for deleting specific lines other than the last X lines or a way to begin inserting into the text at a specific line number.  I have some ideas on how these may be done within the existing editor framework, however they are particularly complicated and I wanted to get these changes into the mainstream.  I'll revisit making further editor updates based on time, need, and priority.  I think these changes will make dealing with the editor less cumbersome.

Prioritizing.  I like it!
Title: In-game Editor Updates
Post by: Moofassa on February 01, 2006, 12:44:15 AM
I have a younger sibling who often comes to my place and watches me arm for a few minutes. He called me the other day asking me how to pull up a help menu. I told him it was .h.... we troubleshooted for about an hour to no avail. Thank you.
Title: In-game Editor Updates
Post by: mansa on February 01, 2006, 09:04:02 PM
Can we get the editor updates for the character creation section, too?
Title: In-game Editor Updates
Post by: Tiernan on February 01, 2006, 09:09:32 PM
Quote from: "mansa"Can we get the editor updates for the character creation section, too?

Char-gen is also handled with the revised editor.  The only place that doesn't use the revised editor is mudmail from the external menu.  Typically correspondence with the staff is managed by email not mudmail and I felt that the system is probably better off as deprecated.
Title: In-game Editor Updates
Post by: Aldiel on February 01, 2006, 09:58:04 PM
You rock, Tiernan.  Thanks!
Title: In-game Editor Updates
Post by: ale six on February 02, 2006, 05:07:03 PM
Out of curiousity, is the new stuff in yet, or do we need to wait on a reboot?
Title: In-game Editor Updates
Post by: Tiernan on February 02, 2006, 06:44:11 PM
Next reboot.  Curse our outstanding stability this week!  (Okay, not really, I like seeing the server run from Saturday to Saturday without a crash).
Title: In-game Editor Updates
Post by: Tamarin on February 02, 2006, 10:58:56 PM
Way to jinx it, Tiernan.
Title: In-game Editor Updates
Post by: Malifaxis on February 04, 2006, 08:51:16 PM
The whimsy of the god (staff) is the law and reality of man(player)kind.