MCPcopy Create free account
hub / github.com/Macuyiko/minecraft-python / isAllSelected

Function isAllSelected

ServerEditorWeb/ace/ace.js:1985–1987  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

1983
1984
1985 var isAllSelected = function(text) {
1986 return text.selectionStart === 0 && text.selectionEnd === text.value.length;
1987 };
1988 if (!text.setSelectionRange && text.createTextRange) {
1989 text.setSelectionRange = function(selectionStart, selectionEnd) {
1990 var range = this.createTextRange();

Callers 1

onSelectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected