MCPcopy Index your code
hub / github.com/Macuyiko/minecraft-python / onSelect

Function onSelect

ServerEditorWeb/ace/ace.js:2037–2046  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

2035 }
2036
2037 var onSelect = function(e) {
2038 if (copied) {
2039 copied = false;
2040 } else if (isAllSelected(text)) {
2041 host.selectAll();
2042 resetSelection();
2043 } else if (inputHandler) {
2044 resetSelection(host.selection.isEmpty());
2045 }
2046 };
2047
2048 var inputHandler = null;
2049 this.setInputHandler = function(cb) {inputHandler = cb};

Callers

nothing calls this directly

Calls 2

isAllSelectedFunction · 0.85
resetSelectionFunction · 0.85

Tested by

no test coverage detected