You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* Deal with the Tab key causing indentation, and Tab+Selection indenting / Shift+Tab+Selection unindenting lines, and the mechanism through which Tab can be used to switch focus instead (accessibility). */
/* Start the tests using the textarea inside the code-input element and whether highlight.js is being used (as the Autodetect plugin only works with highlight.js, for example) */
176
181
asyncfunctionstartTests(textarea,isHLJS){
177
182
textarea.focus();
178
-
allowInputEvents(textarea);
179
183
180
184
codeInputElement=textarea.parentElement;
185
+
allowInputEvents(textarea,codeInputElement);
181
186
182
187
/*--- Tests for core functionality ---*/
183
188
@@ -438,7 +443,7 @@ console.log("I've got another line!", 2 < 3, "should be true.");
438
443
findInput.focus();
439
444
allowInputEvents(findInput);
440
445
addText(findInput,"hello");
441
-
awaitwaitAsync(150);// Wait for highlighting so matches update
446
+
awaitwaitAsync(200);// Wait for highlighting so matches update
442
447
443
448
replaceInput.value="hi";
444
449
replaceAllButton.click();
@@ -525,8 +530,10 @@ console.log("I've got another line!", 2 < 3, "should be true.");
0 commit comments