editor pane listener wasn't useful may be because I wasn't using it right