MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / findPathForLines

Function findPathForLines

lib/web/brackets.js:288–299  ·  view source on GitHub ↗
(h1, h2)

Source from the content-addressed store, hash-verified

286}
287
288function findPathForLines(h1, h2) {
289 var found;
290 raph.forEach(function (e) {
291 if ("isHandleDecorator" in e) {
292 if (cmGetLineNumber(e.h1) == h1 && cmGetLineNumber(e.h2) == h2)
293 found = e
294 }
295 else console.log("didn't find isHandleDecorator in ",e)
296
297 });
298 return found;
299}
300
301function recurSortConflictsOf(at, level) {
302 var a = (cmGetLineNumber(at.h1));

Callers 2

makePathForHandlesFunction · 0.85
Run_Selection_variantFunction · 0.85

Calls 3

cmGetLineNumberFunction · 0.85
logMethod · 0.80
forEachMethod · 0.45

Tested by

no test coverage detected