TEXT EDITOR TEXTEDITOR WORDWRAP WORD WRAP FORMATTING WRITE
TEXT_EDITOR TEXTEDITOR WORDWRAP WORD_WRAP FORMATTING WRITE
The text editor is what you use to write room/mob/obj/extra descriptions,
mudmails, and even boards. It allows you more commands than the typical entry.
To learn the commands while using the text editor, type /h. It will tell you
what all the / commands do. Always use /fi to format, indent, and word wrap.
It looks much better to see writing that is formatted than one that runs all
over the place wrapping around etc. Just simply type /fi on a new line and hit
enter. Before you save type /l to list the buffer and see for yourself how it
looks. Fix as needed.
When entering the text editor for the first time make sure to use /c to clear
the current contents. Indent and format all descriptions by typing /fi (format
with indent) in the text editor. This includes all forms of OLC, mudmails,
boards, and anywhere else you use the text editor. This will indent the line
by 3 spaces and wrap your text at less than 80 characters so telnet users can
read it.
Editor command formats: /<letter>
{c0/a - aborts editor
{c0/c - clears buffer
{c0/d# - deletes a line #
{c0/e# <text> - changes the line at # with <text>
{c0/f - formats text.
{c0/fi - indented formatting of text (highly recommended for all desc's)
{c0/h - list text editor commands
{c0/i# <text> - inserts <text> before line #
{c0/l - lists buffer
{c0/n - lists buffer with line numbers
{c0/r 'a' 'b' - replace 1st occurance of text <a> in buffer with text
{c0/ra 'a' 'b'- replace all occurances of text <a> within buffer with text
usage: /ra 'pattern' 'replacement'
{c0/s - saves text
NOTE: /f and /fi in trigedit will autoindent your trigger.
Commands such as /r, /n, /e#, /i#, /d# are invaluable and will make your job
much easier. For example lets say you mistype "the" with "teh" in a 10 line
description. Instead of /c (clearing) the text you can /r 'teh' 'the' or if it
was on line 5 you can type /e5 <line with teh spelled correctly> or /d5. Learn
all these options.