MCPcopy
hub / github.com/hokein/electron-sample-apps / focusInput

Function focusInput

mini-code-editor/cm/lib/codemirror.js:878–880  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

876 }
877
878 function focusInput() {
879 if (options.readOnly != "nocursor") input.focus();
880 }
881
882 function scrollEditorIntoView() {
883 if (!cursor.getBoundingClientRect) return;

Callers 5

CodeMirrorFunction · 0.85
dragEndFunction · 0.85
doneFunction · 0.85
onDropFunction · 0.85
onContextMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected