editor.setSession must update wraplimit

This commit is contained in:
nightwing 2011-06-19 15:36:32 +05:00
commit e32a760ef1
2 changed files with 20 additions and 17 deletions

View file

@ -192,6 +192,7 @@ var Editor =function(renderer, session) {
this.onChangeBackMarker();
this.onChangeBreakpoint();
this.onChangeAnnotation();
this.session.getUseWrapMode() && this.renderer.adjustWrapLimit();
this.renderer.scrollToRow(session.getScrollTopRow());
this.renderer.updateFull();