MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / Register

Function Register

static/js/codemirror/keymap/vim.js:473–478  ·  view source on GitHub ↗
(text, linewise)

Source from the content-addressed store, hash-verified

471 * inserted at the cursor position.)
472 */
473 function Register(text, linewise) {
474 this.clear();
475 if (text) {
476 this.set(text, linewise);
477 }
478 }
479 Register.prototype = {
480 set: function(text, linewise) {
481 this.text = text;

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected