Lines Matching refs:offset
7176 var offset = this._offset;
7179 if (offset.matchIdx !== null) {
7180 var numPageMatches = this._pageMatches[offset.pageIdx].length;
7182 if (!previous && offset.matchIdx + 1 < numPageMatches || previous && offset.matchIdx > 0) {
7183 offset.matchIdx = previous ? offset.matchIdx - 1 : offset.matchIdx + 1;
7198 var offset = this._offset;
7203 offset.matchIdx = previous ? numMatches - 1 : 0;
7212 if (offset.wrapped) {
7213 offset.matchIdx = null;
7246 var offset = this._offset;
7248 offset.pageIdx = previous ? offset.pageIdx - 1 : offset.pageIdx + 1;
7249 offset.matchIdx = null;
7252 if (offset.pageIdx >= numPages || offset.pageIdx < 0) {
7253 offset.pageIdx = previous ? numPages - 1 : 0;
7254 offset.wrapped = true;
12438 offset: matchIdx - iIndex
12455 offset: matchIdx - iIndex
12479 offset: undefined
12485 appendTextToDiv(divIdx, 0, begin.offset, className);
12531 appendTextToDiv(prevEnd.divIdx, prevEnd.offset, infinity.offset);
12536 appendTextToDiv(prevEnd.divIdx, prevEnd.offset, begin.offset);
12540 appendTextToDiv(begin.divIdx, begin.offset, end.offset, 'highlight' + highlightSuffix);
12542 … appendTextToDiv(begin.divIdx, begin.offset, infinity.offset, 'highlight begin' + highlightSuffix);
12555 appendTextToDiv(prevEnd.divIdx, prevEnd.offset, infinity.offset);