Lines Matching refs:offset

11offset,tabWidth){var matches=[],current=[elems];offset=offset||0;tabWidth=tabWidth||4;(function(el…  argument
12 if(elem.nodeType!==8&&elem.children){arguments.callee(elem.childNodes,offset);}}})(elems);matches.s…
15 …var offset=arguments[arguments.length-2];if(match==="\r"||match==="\n"){tabOffset=-(offset+1);retu…
16 offsets.push([offset,width,totalOffset]);return space[width];}});return{text:text,offsets:offsets};…
18offset=match.offset+linearOffsets[match.offset];var end=match.offset+match.length;end+=linearOffse…
26offset,length,expression,value){this.offset=offset;this.endOffset=offset+length;this.length=length… argument
27offset,this.length);}};Syntax.Match.sort=function(a,b){return(a.offset-b.offset)||(b.length-a.leng…
28 …;};Syntax.Match.prototype.reduce=function(append,process){var start=this.offset;var container=docu…
30 …children.length;i+=1){var child=this.children[i],end=child.offset;if(child.offset<this.offset){Syn…
31 var text=this.value.substr(start-this.offset,end-start);append(text,container);append(child.reduce(…
32 if(start===this.offset){append(this.value,container);}else if(start<this.endOffset){append(this.val…
48 Syntax.Match.prototype._insertWhole=function(match){var parts=this.bisectAtOffsets([match.offset,ma…
57 …is.children[i];if(match.offset<child.offset){if(match.force){return this._insert(match);}else{retu…
59 …r(var i=0;i<this.children.length;i+=1){var child=this.children[i];if(match.endOffset<=child.offset)
60 return this._splice(i,match);if(match.offset>=child.endOffset)
62 var parts=match.bisectAtOffsets([child.offset,child.endOffset]);if(parts[0]){this._splice(i,parts[0…
66offset,prev=null,children=jQuery.merge([],this.children);splits=splits.slice(0);splits.push(this.e…
67 if(offset<this.offset||(offset-start)==0){parts.push(null);start=offset;continue;}
68 if(start<this.offset)
69 start=this.offset;var match=new Syntax.Match(start,offset-start,this.expression);match.value=this.v…
72 continue;var offset=splits[0];while(children.length>0){if(children[0].endOffset<=parts[i].endOffset…
73 if(children.length){if(children[0].offset<parts[i].endOffset){var children_parts=children.shift().b…
97 …rush.buildTree=function(rule,text,offset,additionalMatches){var match=Syntax.brushes[rule.brush].b… argument
98offset,additionalMatches){offset=offset||0;text=text.replace(/\r/g,'');var matches=this.getMatches… argument
99 var top=new Syntax.Match(offset,text.length,{klass:this.allKlasses().join(" "),allow:'*',owner:this…