Lines Matching refs:scroll
34 const scroll = moaiEditor.editor.current.scroll.top;
35 const sameScroll = Math.abs(scroll - this.lastScroll) <= 2;
46 this.lastScroll = scroll;
57 const leftScroll = moaiEditor.editor.current.scroll.top;
66 if (matches[i].scroll === null)
69 if (match.scroll.top > leftScroll) {
74 if (match.scroll.bottom > leftScroll) {
99 const scroll = {p1:p1, p2:p2, right:right}; variable
100 this.debugLine(scroll);
103 return scroll;
117 left = moaiEditor.editor.current.scroll.max;
123 left = match.scroll[side],
133 debugLine(scroll) { argument
139 const p1 = scroll.p1;
140 const p2 = scroll.p2;
141 const txt1 = "<"+scroll.p1.type+"> "+p1.side+" L"+p1.linenum;
142 const txt2 = "<"+scroll.p2.type+"> "+p2.side+" L"+p2.linenum;
165 this.lastScroll = moaiEditor.preview.scroll.top;
175 const scroll = moaiEditor.preview.scroll.top;
176 const userScrolled = Math.abs(scroll - this.lastScroll) > 2;
182 const distance = this.target - scroll;
184 moaiEditor.preview.scroll.top = scroll + increment;
185 this.lastScroll = scroll + increment;