[an error occurred while processing this directive]
[<a href="index.shtml">Package Index</a></code> | <a href="index_std.shtml">Mudlib Index</a></code> | <a href="index_eff.shtml">Effect Index</a></code>]<br><h2>File /global/line_ed.c</h2>
This allows a piece of text to be placed into the players own
line editor (which ever one they wish to use).
<p>
Expansion of the editor.  We will now allow the player to use any
of three different editors.  One of them is the default (the old
one) one of them is ed and the other I am going to write in a
few secs....
<p>
cute line editor thing.  Which even a player could use!<p>Written by Pinkfish
<h2>Includes</h2>
This class includes the following files <a href="include.player_handler.h.shtml">/include/player_handler.h</a> and <a href="include.ed.h.shtml">/include/ed.h</a><h2>Method index</h2>
<dl><ul>
<li><a href="#append_signature">append_signature</a>()<br/>
This method will create the signature to append to whatever needs
a signature.
<li><a href="#do_edit">do_edit</a>(string, mixed, object, string, mixed)<br/>
Edit a string.
<li><a href="#query_editor">query_editor</a>()<br/>
This method will return the players current editor setting.
<li><a href="#query_in_editor">query_in_editor</a>()<br/>
This method returns true if the player is currently in the editor.
<li><a href="#set_in_editor">set_in_editor</a>(int)<br/>
This method is used to turn off the editing stuff.
</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="append_signature">
append_signature</a><pre>
string append_signature()
</pre></br>
This method will create the signature to append to whatever needs
a signature.
<br/><ul>
<li><b>Returns:</b>
<br/>the players signature

</dl>

<ul><a name="do_edit">
do_edit</a><pre>
varargs int do_edit(string str,
                    mixed end_f,
                    object end_o,
                    string fname,
                    mixed extra)
</pre></br>
Edit a string.  This will edit the string or file name and then
call the end function and end object at the end.  It will pas in
the string if the edit is successful, or 0 if it is not.
<br/><ul>
<li><b>Parameters:</b>
<br/>str - the string to edit
<br/>end_f - the function to call
<br/>end_o - the object to call it on (defaul: previous_object())
<br/>fname - a specific filename to edit
<br/>extra - an array of any parameters you need to carry into the end function
<li><b>Returns:</b>
<br/>0 on failure.

</dl>

<ul><a name="query_editor">
query_editor</a><pre>
string query_editor()
</pre></br>
This method will return the players current editor setting.
<br/><ul>
<li><b>Returns:</b>
<br/>the current editor setting.

</dl>

<ul><a name="query_in_editor">
query_in_editor</a><pre>
int query_in_editor()
</pre></br>
This method returns true if the player is currently in the editor.
<br/><ul>
<li><b>Returns:</b>
<br/>1 if the player is in the editor

</dl>


<h2>Protected Functions</h2>
These are functions that only objects inheriting the class can access.<p>
<ul><a name="set_in_editor">
set_in_editor</a><pre>
void set_in_editor(int value)
</pre></br>
This method is used to turn off the editing stuff.



[an error occurred while processing this directive]

