MCPcopy Index your code
hub / github.com/paperwm/PaperWM / remove

Method remove

prefsKeybinding.js:413–421  ·  view source on GitHub ↗
(combo)

Source from the content-addressed store, hash-verified

411 }
412
413 remove(combo) {
414 const [found, pos] = this.find(combo);
415 if (!found)
416 return;
417 this.combos.remove(pos);
418 if (this.combos.get_n_items() === 0)
419 this.combos.append(new Combo({}, this.acceleratorParse));
420 this._store();
421 }
422
423 replace(oldCombo, newCombo) {
424 const [found, _] = this.find(newCombo);

Callers 9

_removeRowMethod · 0.80
createWorkspacePageMethod · 0.80
disableFunction · 0.80
triggerPreviewMethod · 0.80
_onKeyPressedMethod · 0.80
_updateKeybindingMethod · 0.80
restoreConflictsFunction · 0.80

Calls 2

findMethod · 0.95
_storeMethod · 0.95

Tested by

no test coverage detected