Lines Matching refs:text
18 function prettytables_repeat(text,num) { argument
20 buf += text;
26 function prettytables_count_spaces(text) { argument
28 for (var i=0; i < text.length; i++) {
29 if (text.substr(i,1)==' ') a++; else break;
31 for (var i=text.length-1; i >= 0; i--) {
32 if (text.substr(i,1)==' ') b++; else break;
43 function prettytables_strcenter (text, width) { argument
44 var txt_len = getCharWidth(text);
50 return pads + text + pads + remain;
53 return text;
71 this.parse = function(text){ argument
76 var lines = text.split(/\n/);