Lines Matching refs:matches

11matches=[],current=[elems];offset=offset||0;tabWidth=tabWidth||4;(function(elems){for(var i=0;elem…
12 …lem.children){arguments.callee(elem.childNodes,offset);}}})(elems);matches.shift();return matches;}
18 …atchesWithOffsets=function(matches,linearOffsets,text){(function(matches){for(var i=0;i<matches.le… argument
19 …ch.children);}})(matches);return matches;};Syntax.extractMatches=function(){var rules=arguments;re…
22 …{matches.push(Syntax.Brush.buildTree(rule,match[index],RegExp.indexOf(match,index)));}else{var exp…
23 return matches;};};Syntax.lib.webLinkProcess=function(queryURI,lucky){if(lucky){queryURI="http://ww…
26 …tal:true};Syntax.lib.cStyleFunction={pattern:/([a-z_][a-z0-9_]*)\s*\(/gi,matches:Syntax.extractMat… property in Syntax.lib.cStyleFunction
78 var matches=this.bisectAtOffsets(splits);return jQuery.grep(matches,function(n,i){return n;});};Syn…
86matches=[],pattern=new RegExp;pattern.compile(rule.pattern);while((match=pattern.exec(text))!==nul…
88 return matches;}
92 …e.getMatchesForRule=function(text,rule){var matches=[],match=null;if(typeof(rule.apply)!='undefine…
93 if(rule.debug){Syntax.log("Syntax matches:",rule,text,matches);}
94 return matches;};Syntax.Brush.prototype.getRuleForKlass=function(klass){for(var i=0;i<this.rules.le…
96 …ush.prototype.getMatches=function(text){var matches=[];for(var i=0;i<this.rules.length;i+=1){match…
97 return matches;};Syntax.Brush.buildTree=function(rule,text,offset,additionalMatches){var match=Synt…
98 …xt=text.replace(/\r/g,'');var matches=this.getMatches(text);if(offset&&offset>0){for(var i=0;i<mat…
99 …"),allow:'*',owner:this},text);matches.sort(Syntax.Match.sort);for(var i=0;i<matches.length;i+=1){…
101 …p;};Syntax.Brush.prototype.process=function(text,matches,options){var top=this.buildTree(text,0,ma… argument
104matches&&options.matches.length){var linearOffsets=Syntax.convertToLinearOffsets(replacement.offse…
106 var html=brush.process(text,options.matches,options);if(options.linkify!==false){jQuery('span.href'…
109 options.layout=options.layout||'preformatted';options.matches=[];if(typeof(options.tabWidth)==='und…
110 elements.each(function(){var container=jQuery(this);options.matches=options.matches.concat(Syntax.e…