MCPcopy
hub / github.com/philc/vimium / setIndicator

Method setIndicator

content_scripts/link_hints.js:464–473  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

462 }
463
464 setIndicator() {
465 if (windowIsFocused()) {
466 const typedCharacters = this.markerMatcher.linkTextKeystrokeQueue
467 ? this.markerMatcher.linkTextKeystrokeQueue.join("")
468 : "";
469 const indicator = this.mode.indicator + (typedCharacters ? `: \"${typedCharacters}\"` : "") +
470 ".";
471 this.hintMode.setIndicator(indicator);
472 }
473 }
474
475 // Creates a link marker for the given link.
476 createMarkerFor(desc) {

Callers 4

constructorMethod · 0.95
renderHintsMethod · 0.95
setOpenLinkModeMethod · 0.95
updateKeyStateMethod · 0.95

Calls 1

windowIsFocusedFunction · 0.85

Tested by

no test coverage detected