[Nice-commit] Nice/src/nice/tools/doc comment.nice,1.5,1.6 htmlwriter.nice,1.12,1.13
Brought to you by:
bonniot
From: Francis B. <fb...@us...> - 2004-08-04 14:54:46
|
Update of /cvsroot/nice/Nice/src/nice/tools/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4049/src/nice/tools/doc Modified Files: comment.nice htmlwriter.nice Log Message: htmlwriter.nice: Cosmetic changes to the output. comment.nice: typo fixed in one of the doc comments. Index: htmlwriter.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/nice/tools/doc/htmlwriter.nice,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** htmlwriter.nice 31 Jul 2004 08:10:05 -0000 1.12 --- htmlwriter.nice 4 Aug 2004 14:54:21 -0000 1.13 *************** *** 108,116 **** Comment c = new Comment(commentStr: comments); List<(?String, String)> tags = c.tags; writer.write("<table>\n"); for((?String, String) tag : tags) { writer.write("<tr>\n"); (?String x, String y) = tag; ! writer.write("<td>" x "</td>\n"); writer.write("<td>" y "</td>\n"); writer.write("</tr>\n"); --- 108,121 ---- Comment c = new Comment(commentStr: comments); List<(?String, String)> tags = c.tags; + //write the general comment + (?String a, String b) = tags.removeAt(0); + writer.write("<div class='generalComment' >\n"); + writer.write(b + "\n"); + writer.write("</div\n"); writer.write("<table>\n"); for((?String, String) tag : tags) { writer.write("<tr>\n"); (?String x, String y) = tag; ! writer.write("<td style='font-style: italic'>" x ":</td>\n"); writer.write("<td>" y "</td>\n"); writer.write("</tr>\n"); *************** *** 118,124 **** writer.write("</table>\n"); } - else - comments = "null"; - writer.write(comments + "\n"); writer.write("</p>\n"); --- 123,126 ---- Index: comment.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/nice/tools/doc/comment.nice,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** comment.nice 1 Aug 2004 04:42:14 -0000 1.5 --- comment.nice 4 Aug 2004 14:54:21 -0000 1.6 *************** *** 18,22 **** * strings to values. The value <b>null</b> maps to the general comment. * The constructor of this class should be used put a comment block in ! * <i>commentStr</i> (the default value is the empty string. * @author Francis Barber */ --- 18,22 ---- * strings to values. The value <b>null</b> maps to the general comment. * The constructor of this class should be used put a comment block in ! * <i>commentStr</i> (the default value is the empty string). * @author Francis Barber */ |