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

Function onCompositionStart

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

Source from the content-addressed store, hash-verified

2173 });
2174 }
2175 var onCompositionStart = function(e) {
2176 if (inComposition || !host.onCompositionStart || host.$readOnly)
2177 return;
2178 inComposition = {};
2179 host.onCompositionStart();
2180 setTimeout(onCompositionUpdate, 0);
2181 host.on("mousedown", onCompositionEnd);
2182 if (!host.selection.isEmpty()) {
2183 host.insert("");
2184 host.session.markUndoGroup();
2185 host.selection.clearSelection();
2186 }
2187 host.session.markUndoGroup();
2188 };
2189
2190 var onCompositionUpdate = function() {
2191 if (!inComposition || !host.onCompositionUpdate || host.$readOnly)

Callers 1

TextInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected