summaryrefslogtreecommitdiff
path: root/sources/ch
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2003-08-29 08:43:11 +0000
committermichelou <michelou@epfl.ch>2003-08-29 08:43:11 +0000
commit108c95de6333f113129e63bb049e81d8b1a0924c (patch)
tree0fd62a3b2acb5675ada68f0bf33a4a8a58c2fc9e /sources/ch
parent06a5f2627e19233bf237189810752f0755193f5b (diff)
downloadscala-108c95de6333f113129e63bb049e81d8b1a0924c.tar.gz
scala-108c95de6333f113129e63bb049e81d8b1a0924c.tar.bz2
scala-108c95de6333f113129e63bb049e81d8b1a0924c.zip
- added printlnNbsp and printlnHline
Diffstat (limited to 'sources/ch')
-rw-r--r--sources/ch/epfl/lamp/util/HTMLPrinter.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/sources/ch/epfl/lamp/util/HTMLPrinter.java b/sources/ch/epfl/lamp/util/HTMLPrinter.java
index 6a1bd3dbe3..33e78326bd 100644
--- a/sources/ch/epfl/lamp/util/HTMLPrinter.java
+++ b/sources/ch/epfl/lamp/util/HTMLPrinter.java
@@ -376,6 +376,16 @@ public class HTMLPrinter {
}
/**
+ * Prints <code>n</code> HTML blank spaces followed by a new line.
+ *
+ * @param n The parameter <code>n</code> gives the number
+ * of printed blank spaces
+ */
+ public HTMLPrinter printlnNbsp(int n) {
+ return printNbsp(n).line();
+ }
+
+ /**
* Prints an horizontal line separator followed by a new line.
*/
public HTMLPrinter printlnHLine() {