MCPcopy Index your code
hub / github.com/csev/py4e / setBookmark

Function setBookmark

tools/pythonauto/static/codemirrorepl/codemirrorepl.js:1650–1655  ·  view source on GitHub ↗
(pos)

Source from the content-addressed store, hash-verified

1648 }
1649
1650 function setBookmark(pos) {
1651 pos = clipPos(pos);
1652 var bm = new Bookmark(pos.ch);
1653 getLine(pos.line).addMark(bm);
1654 return bm;
1655 }
1656
1657 function findMarksAt(pos) {
1658 pos = clipPos(pos);

Callers

nothing calls this directly

Calls 2

clipPosFunction · 0.70
getLineFunction · 0.70

Tested by

no test coverage detected