Is there a way to force the script editor to update its tabs when closing a stack?
If I close a stack with locked messages and have some of its scripts opened in the script editor, the editor doesn't update and its tabs become nonsense.
On the other hand, if I close a stack with unlocked messages, the script editor updates correctly.
Of course, I could also close the script editor completely but that would also close the scripts of the other opened stacks, and that's not what I want.
The following tests are very simple to perform:
Code: Select all
on mouseUp
lock messages
close this stack
-- look at the script editor and cry
end mouseUp
Code: Select all
on mouseUp
close this stack -- OK
end mouseUp