GbEditorDocument: whitespace cleanup