I have told that Scripting Framework is switched on by default on 680_m36. I love this Scripting Framework.
Duncan Foster gives nice and cool instruction for steps to get BeanShell's Highlight functions working:
1) Check if the Tools->Macros->Macros->Macro Organizer shows the ScriptBindingLibrary. If it doesn't then go to the "Libraries" tab,
click "Append", navigate to
/share/basic/ScriptBindingLibrary and select the script.xlb, click "Open", and "OK".
2) In the Macro Organizer, in the "Modules" tab, select the dialog
ScriptBindingLibrary->Highlight, and click "Edit", to bring up the
dialog editor.
3) In the dialog editor, select the "Highlight" button, right click and
select properties. In the properties dialog, select the "Events" tab,
and click the "..." button to the right of the line "When initiating",
select the BeanShell->Highlight->ButtonPressHandler.bsh script, and click "Assign" and "Ok". Close the Properties dialog. Repeat this for the other button "Exit". File->Save. Close the dialog editor.
4) remove your menu binding for ButtonPressHandler.bsh
5) Now the ShowDialog.bsh menu entry should bring up the Highlight dialog, and the buttons on the dialog should work as expected.