JBIDE-18237 NPE when editing HTML page in VPE

while setting source editor documentListener was added. It is needed for visual/source tab but not needed for Preview tab