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

Function eqCursorPos

lib/web/CodeMirror/test/driver.js:115–118  ·  view source on GitHub ↗
(a, b, msg)

Source from the content-addressed store, hash-verified

113 if (a.line != b.line || a.ch != b.ch) throw new Failure(label(str(a) + " != " + str(b), msg));
114}
115function eqCursorPos(a, b, msg) {
116 eqCharPos(a, b, msg);
117 if (a) eq(a.sticky, b.sticky, msg ? msg + ' (sticky)' : 'sticky');
118}
119function is(a, msg) {
120 if (!a) throw new Failure(label("assertion failed", msg));
121}

Callers 8

atFunction · 0.85
scroll_test.jsFile · 0.85
hasCursorsFunction · 0.85
test.jsFile · 0.85
testMoveEndBidiFunction · 0.85
assertCursorAtFnFunction · 0.85
vim_test.jsFile · 0.85
atFunction · 0.85

Calls 2

eqCharPosFunction · 0.85
eqFunction · 0.85

Tested by

no test coverage detected