cleartrace(s)
{
local h;
if (argc < 1)
{
s = refwindow(w0);
}
if (length(s) > 0)
{
/* get line handles placed for editing */
h = findhandle(s, "tag", "editline");
if (length(h) > 0)
{
deletehandle(h);
}
}
}