Allow highlighting of references in unsaved script