Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
CodeMirror
Function · 0.85
dragEnd
Function · 0.85
done
Function · 0.85
onDrop
Function · 0.85
onContextMenu
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected