JBIDE-17887 Visaul Editor: error happens when empty file is opened
Save refresh options for editor and preview
JBIDE-18041 Visual editor: refresh type preference is not saved.

corrected default value
JBIDE-18043 VPE: Fixing # anchor issue
JBIDE-18042 VPE: Disabling window.confirm, window.prompt and window.open