First, you need to add a file for Editor: drag & drop your PIG file or click inside the white area for choose a file. Then click the "Edit" button. It will now allow you to Edit your PIG file.