set defaults to match Java editor