fix splitpane and codeeditor templates