MCPcopy
hub / github.com/csev/py4e / selectInput

Function selectInput

tools/pythonauto/static/codemirrorepl/codemirror.js:6952–6952  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

6950 function lst(arr) { return arr[arr.length-1]; }
6951
6952 var selectInput = function(node) { node.select(); };
6953 if (ios) // Mobile Safari apparently has a bug where select() is broken.
6954 selectInput = function(node) { node.selectionStart = 0; node.selectionEnd = node.value.length; };
6955 else if (ie) // Suppress mysterious IE10 errors

Callers 2

resetInputFunction · 0.70
prepareCopyCutFunction · 0.70

Calls 1

selectMethod · 0.45

Tested by

no test coverage detected