MCPcopy Create free account
hub / github.com/breck7/scroll / Completion

Function Completion

external/.scrollLibs.js:13426–13442  ·  view source on GitHub ↗
(cm, options)

Source from the content-addressed store, hash-verified

13424 })
13425
13426 function Completion(cm, options) {
13427 this.cm = cm
13428 this.options = options
13429 this.widget = null
13430 this.debounce = 0
13431 this.tick = 0
13432 this.startPos = this.cm.getCursor("start")
13433 this.startLen = this.cm.getLine(this.startPos.line).length - this.cm.getSelection().length
13434
13435 var self = this
13436 cm.on(
13437 "cursorActivity",
13438 (this.activityFunc = function () {
13439 self.cursorActivity()
13440 })
13441 )
13442 }
13443
13444 var requestAnimationFrame =
13445 window.requestAnimationFrame ||

Callers

nothing calls this directly

Calls 1

getLineMethod · 0.45

Tested by

no test coverage detected