Format and color-code the HTML.If text is selected in Wysiwyg then select the same section when switching to HTML.