MCPcopy Create free account
hub / github.com/unconed/TermKit / offsetMatches

Function offsetMatches

HTML/external/syntaxhighlighter_3.0.83/src/shCore.js:1226–1230  ·  view source on GitHub ↗
(matches, offset)

Source from the content-addressed store, hash-verified

1224 );
1225
1226 function offsetMatches(matches, offset)
1227 {
1228 for (var j = 0; j < matches.length; j++)
1229 matches[j].index += offset;
1230 }
1231
1232 function process(match, info)
1233 {

Callers 1

processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected