minor
#24514
TLScript code completion plugin does not work in Internet Explorer
The TLScript code completion plugin—which is used, for example, in Expert Mode of the model-based search in the TL Demo—causes errors in Internet Explorer.
Specifically, the JavaScript destructuring statement in tlscripteditor.js
#!js
const { session } = editor;
is used. In the example, a variable named ` session` is declared and assigned the value of the property of the same name from the JSON object ` editor`.
This functionality is not supported in Internet Explorer.
Test
Launch Expert Mode in Model-Based Search and verify that live autocompletion works; that is, after entering a period .`, a popup with suggested TLScript functions should appear, and after entering a `` , a popup with suggested TL modules should appear.
Furthermore, explicitly triggering autocompletion using the CTRL + Spacebar shortcut should work.