JAL-1807 still testing
[jalviewjs.git] / bin / com / stevesoft / pat / RBuffer.js
index 27970cf..529f8a2 100644 (file)
@@ -1,32 +1,32 @@
-Clazz.declarePackage ("com.stevesoft.pat");
-Clazz.load (null, "com.stevesoft.pat.RBuffer", ["java.lang.StringBuffer"], function () {
-c$ = Clazz.decorateAsClass (function () {
-this.done = false;
-this.sb = null;
-this.pos = 0;
-this.epos = 0;
-this.next = null;
-Clazz.instantialize (this, arguments);
-}, com.stevesoft.pat, "RBuffer");
-Clazz.makeConstructor (c$, 
-function () {
-});
-Clazz.makeConstructor (c$, 
-function (sb) {
-this.sb = sb;
-}, "StringBuffer");
-Clazz.overrideMethod (c$, "toString", 
-function () {
-return "sb=" + this.sb.toString ().$replace ('\n', ' ') + " pos=" + this.pos + " epos=" + this.epos + " sb.length()=" + this.sb.length () + "\n" + this.sp (this.pos + 3) + "^" + this.sp (this.epos - this.pos - 1) + "^";
-});
-Clazz.defineMethod (c$, "sp", 
-function (n) {
-if (n <= 0) {
-return "";
-}var sb =  new StringBuffer (n);
-for (var i = 0; i < n; i++) {
-sb.append (' ');
-}
-return sb.toString ();
-}, "~N");
-});
+Clazz.declarePackage ("com.stevesoft.pat");\r
+Clazz.load (null, "com.stevesoft.pat.RBuffer", ["java.lang.StringBuffer"], function () {\r
+c$ = Clazz.decorateAsClass (function () {\r
+this.done = false;\r
+this.sb = null;\r
+this.pos = 0;\r
+this.epos = 0;\r
+this.next = null;\r
+Clazz.instantialize (this, arguments);\r
+}, com.stevesoft.pat, "RBuffer");\r
+Clazz.makeConstructor (c$, \r
+function () {\r
+});\r
+Clazz.makeConstructor (c$, \r
+function (sb) {\r
+this.sb = sb;\r
+}, "StringBuffer");\r
+Clazz.overrideMethod (c$, "toString", \r
+function () {\r
+return "sb=" + this.sb.toString ().$replace ('\n', ' ') + " pos=" + this.pos + " epos=" + this.epos + " sb.length()=" + this.sb.length () + "\n" + this.sp (this.pos + 3) + "^" + this.sp (this.epos - this.pos - 1) + "^";\r
+});\r
+Clazz.defineMethod (c$, "sp", \r
+function (n) {\r
+if (n <= 0) {\r
+return "";\r
+}var sb =  new StringBuffer (n);\r
+for (var i = 0; i < n; i++) {\r
+sb.append (' ');\r
+}\r
+return sb.toString ();\r
+}, "~N");\r
+});\r