editor.setSession must update wraplimit
This commit is contained in:
parent
09bda14096
commit
e32a760ef1
2 changed files with 20 additions and 17 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue