Lines Matching +refs:text +refs:line

51         this.line = null;           // Template for new mirror line elements
72 var line = moaiEditor.createHTML('<div class="moaied-mirror-line"></div>');
75 line.appendChild(content);
77 line.appendChild(match);
78 this.line = line;
166 const line = this.content.childNodes[i];
167 line.highlight.match = match.syntax;
168 line.highlight.syntax = match.syntax;
169 this.highlight(line);
177 const line = this.content.childNodes[i];
178 line.highlight = {match:null, syntax:null, children:null};
179 this.highlight(line);
219 get text() { getter in MoaiEditor.TextAreaMirror
296 var text = this.watcher.lines[i];
297 var line = this.content.childNodes[i];
298 line.text = text;
299 line.highlight.match = null;
300 this.highlight(line);
319 var text = this.watcher.lines[i];
320 var line = this.getNewLine(text);
321 …this.content.insertBefore (line, mirrornode); // If 'mirrornode' is null the insertion will happ…
340 highlight(line) { argument
343 if (line.text == '')
344 line.text = ' ';
347 this.syntax.highlight(line);
351 let match = line.highlight.match;
352 let overlay = line.querySelector('.moaied-highlight-match');
362 getNewLine(text) { argument
363 var line = this.line.cloneNode(true);
364 line.text = text;
365 line.highlight = {match:null, syntax:null, children:null};
366 this.highlight(line);
367 return line;
418 measureFrameTime (text) { argument
493 const line = document.querySelector("#moai__debug div:nth-child(2)");
494 if (!line) return;
498 const text = "scroll:"+scroll+" maxScroll:"+maxScroll;
499 line.textContent = text;