@worktile/theia 1.2.18 → 1.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7001,8 +7001,6 @@
|
|
|
7001
7001
|
this.ngZone.onStable.pipe(operators.take(1)).subscribe(function () {
|
|
7002
7002
|
_this.renderCodemirror();
|
|
7003
7003
|
_this.initializeCodemirrorFocus();
|
|
7004
|
-
_this.useAutoWrap();
|
|
7005
|
-
_this.useHeight();
|
|
7006
7004
|
});
|
|
7007
7005
|
}
|
|
7008
7006
|
};
|
|
@@ -7014,6 +7012,8 @@
|
|
|
7014
7012
|
this.startRenderCodemirror = true;
|
|
7015
7013
|
this.useReadonly();
|
|
7016
7014
|
this.useMode();
|
|
7015
|
+
this.useAutoWrap();
|
|
7016
|
+
this.useHeight();
|
|
7017
7017
|
this.cdr.detectChanges();
|
|
7018
7018
|
};
|
|
7019
7019
|
TheCodeComponent.prototype.initializeCodemirrorFocus = function () {
|
|
@@ -7058,6 +7058,7 @@
|
|
|
7058
7058
|
};
|
|
7059
7059
|
TheCodeComponent.prototype.useAutoWrap = function () {
|
|
7060
7060
|
if (this.element.autoWrap) {
|
|
7061
|
+
this.cdr.detectChanges();
|
|
7061
7062
|
this.isAutoWrap = this.element.autoWrap;
|
|
7062
7063
|
this.codemirror.setOptionIfChanged('lineWrapping', this.element.autoWrap);
|
|
7063
7064
|
}
|