fix scala editor