2002/css-validator/org/w3c/css/css StyleSheetGeneratorHTML2.java,1.47,1.48

Update of /sources/public/2002/css-validator/org/w3c/css/css
In directory hutz:/tmp/cvs-serv13769

Modified Files:
	StyleSheetGeneratorHTML2.java 
Log Message:
Modified warnings: adding title for line numbers

Index: StyleSheetGeneratorHTML2.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/StyleSheetGeneratorHTML2.java,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- StyleSheetGeneratorHTML2.java	15 Dec 2006 05:26:34 -0000	1.47
+++ StyleSheetGeneratorHTML2.java	15 Dec 2006 08:14:38 -0000	1.48
@@ -343,10 +343,13 @@
 			    oldMessage = warn.getWarningMessage();
 
 				// Starting a line for each new warning
-			    ret.append("\n<tr class='warning'>\n   <td class='linenumber'>");
+			    ret.append("\n<tr class='warning'>\n   <td class='linenumber' title='");
+				ret.append(ac.getMsg().getGeneratorString("line"));
+			    ret.append(oldLine);
+			    ret.append(" ").append(oldLine);
+			    ret.append("'>");
 			    ret.append(oldLine);
 			    ret.append("</td> ");
-
 				// Getting the code context of the CSS
 				ret.append("\n   <td class='codeContext'>");
 				if (warn.getContext() != null) {

Received on Friday, 15 December 2006 08:14:50 UTC