Allow highlighting of references in unsaved scripts