--- loncom/homework/inputtags.pm 2001/06/02 03:59:59 1.35 +++ loncom/homework/inputtags.pm 2001/06/27 18:51:37 1.36 @@ -79,11 +79,21 @@ sub start_textline { my $oldresponse = $Apache::lonhomework::history{"resource.$Apache::inputtags::part.$Apache::inputtags::response['-1'].submission"}; $result= ''; } + if ($target eq 'edit') { + $result.=&Apache::edit::tag_start($target,$token,&Apache::lonxml::description($token)); + $result.=&Apache::edit::text_arg('Size:','size',$token,'5').""; + $result.=&Apache::edit::end_table; + } + if ($target eq 'modified') { + my $constructtag=&Apache::edit::get_new_args($token,$parstack,$safeeval,'size'); + if ($constructtag) { $result = &Apache::edit::rebuild_tag($token); } + } return $result; } sub end_textline { my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_; + if ($target eq 'edit') { return ('','no'); } return ""; }