Issue 7327:  Error in console when running pretty print on a blank document
 - Fixed so prettyprint returns when the editor text is blank.