string in_edit();
string in_edit(object ob);
If the given object is in the editor, the file being edited is returned, else zero. If no object is given, this_object() is used.
See also: ed , in_input
Beek @ZorkMUD, Lima Bean, IdeaExchange, TMI-2, and elsewhere