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

Function contextMenuInGutter

external/.scrollLibs.js:10447–10452  ·  view source on GitHub ↗
(cm, e)

Source from the content-addressed store, hash-verified

10445 }
10446
10447 function contextMenuInGutter(cm, e) {
10448 if (!hasHandler(cm, "gutterContextMenu")) {
10449 return false
10450 }
10451 return gutterEvent(cm, e, "gutterContextMenu", false)
10452 }
10453
10454 function themeChanged(cm) {
10455 cm.display.wrapper.className = cm.display.wrapper.className.replace(/\s*cm-s-\S+/g, "") + cm.options.theme.replace(/(^|\s)\s*/g, " cm-s-")

Callers 1

onContextMenuFunction · 0.85

Calls 2

hasHandlerFunction · 0.85
gutterEventFunction · 0.85

Tested by

no test coverage detected