I know Paul answered your question, but just as an additional bit of
info:The error message"The script is not editable because the Script
Editor contains script that is in a fragment."If the Script Editor is
set to show all scripts, and some of the scripts it is showing are part
of a fragment, then the entire editor is read-only. Scripts that are
part of fragments cannot be edited outside the fragment file; in order
to prevent the editing, the Script Editor is set to read-only mode.Ways
to preve...