Lines Matching refs:editor
44 const editor = moaiEditor.editor.current;
51 var endline = editor.watcher.lines.length-1;
67 editor.onAjax(this.newMatches);
71 const top = editor.getLineRect(match.startline).top;
72 const bottom = editor.getLineRect(match.endline).bottom;
85 const editor = moaiEditor.editor.current;
103 shift = editor.getLineRect(match.startline).top - match.scroll.top;
112 removeMatches(startline, endline, editor=false) { argument
117 else if (editor)
118 moaiEditor.editor.current.removeMatches(match.startline, match.endline);
147 const editor = moaiEditor.editor.current;
151 const top = editor.getLineRect(match.startline).top;
152 const bottom = editor.getLineRect(match.endline).bottom;
163 const editor = moaiEditor.editor.current;
165 const top = editor.getLineRect(match.startline).top;
166 const bottom = editor.getLineRect(match.endline).bottom;