MCPcopy
hub / github.com/nwutils/nw-sample-apps / rehide

Function rehide

mini-code-edit/cm/lib/codemirror.js:1698–1707  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1696 focusInput();
1697 selectInput(input);
1698 function rehide() {
1699 var newVal = splitLines(input.value).join("\n");
1700 if (newVal != val) operation(replaceSelection)(newVal, "end");
1701 inputDiv.style.position = "relative";
1702 input.style.cssText = oldCSS;
1703 if (ie_lt9) scroller.scrollTop = scrollPos;
1704 leaveInputAlone = false;
1705 resetInput(true);
1706 slowPoll();
1707 }
1708
1709 if (gecko) {
1710 e_stop(e);

Callers

nothing calls this directly

Calls 3

operationFunction · 0.85
resetInputFunction · 0.85
slowPollFunction · 0.85

Tested by

no test coverage detected