X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=formats%2Fline.tcl;h=c9ff1a4c694d6b8b5a8befe02a9681b2d25ab00b;hb=b85034833b5ba67b267b22b539cf2bb93dc39775;hp=266c0e9ed43eb76c2d0b558b5fec46d88df23130;hpb=9a5dea72c18197bf3f06c4300f01875d69934609;p=ir-tcl-moved-to-github.git diff --git a/formats/line.tcl b/formats/line.tcl index 266c0e9..c9ff1a4 100644 --- a/formats/line.tcl +++ b/formats/line.tcl @@ -4,7 +4,10 @@ # Sebastian Hammer, Adam Dickmeiss # # $Log: line.tcl,v $ -# Revision 1.2 1995-06-13 14:39:06 adam +# Revision 1.3 1995-06-16 12:29:00 adam +# Use insertWithTags on diagnostic errors. +# +# Revision 1.2 1995/06/13 14:39:06 adam # Fix: if {$var != ""} doesn't work if var is a large numerical! # Highlight when line format is used. # @@ -39,7 +42,7 @@ proc display-line {sno no w hflag} { if {$add != {}} { set add " :${add}" } - $w insert end "Error ${err}${add}\n" + insertWithTags $w "Error ${err}${add}\n" marc-data } elseif {$type == ""} { return }