commit
1e57135e18
|
@ -631,15 +631,18 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
autoCorrect: function() {
|
autoCorrect: function() {
|
||||||
|
if (this.dlgAutoCorrect && this.dlgAutoCorrect.isVisible()) return;
|
||||||
|
|
||||||
if (!this._mathCorrect)
|
if (!this._mathCorrect)
|
||||||
this._mathCorrect = new Common.UI.DataViewStore();
|
this._mathCorrect = new Common.UI.DataViewStore();
|
||||||
if (!this._funcCorrect)
|
if (!this._funcCorrect)
|
||||||
this._funcCorrect = new Common.UI.DataViewStore();
|
this._funcCorrect = new Common.UI.DataViewStore();
|
||||||
(new Common.Views.AutoCorrectDialog({
|
this.dlgAutoCorrect = new Common.Views.AutoCorrectDialog({
|
||||||
mathStore: this._mathCorrect,
|
mathStore: this._mathCorrect,
|
||||||
functionsStore: this._funcCorrect,
|
functionsStore: this._funcCorrect,
|
||||||
api: this.api
|
api: this.api
|
||||||
})).show();
|
});
|
||||||
|
this.dlgAutoCorrect.show();
|
||||||
},
|
},
|
||||||
|
|
||||||
strLiveComment: 'Turn on option',
|
strLiveComment: 'Turn on option',
|
||||||
|
|
|
@ -543,15 +543,18 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
autoCorrect: function() {
|
autoCorrect: function() {
|
||||||
|
if (this.dlgAutoCorrect && this.dlgAutoCorrect.isVisible()) return;
|
||||||
|
|
||||||
if (!this._mathCorrect)
|
if (!this._mathCorrect)
|
||||||
this._mathCorrect = new Common.UI.DataViewStore();
|
this._mathCorrect = new Common.UI.DataViewStore();
|
||||||
if (!this._funcCorrect)
|
if (!this._funcCorrect)
|
||||||
this._funcCorrect = new Common.UI.DataViewStore();
|
this._funcCorrect = new Common.UI.DataViewStore();
|
||||||
(new Common.Views.AutoCorrectDialog({
|
this.dlgAutoCorrect = new Common.Views.AutoCorrectDialog({
|
||||||
mathStore: this._mathCorrect,
|
mathStore: this._mathCorrect,
|
||||||
functionsStore: this._funcCorrect,
|
functionsStore: this._funcCorrect,
|
||||||
api: this.api
|
api: this.api
|
||||||
})).show();
|
});
|
||||||
|
this.dlgAutoCorrect.show();
|
||||||
},
|
},
|
||||||
|
|
||||||
strInputMode: 'Turn on hieroglyphs',
|
strInputMode: 'Turn on hieroglyphs',
|
||||||
|
|
|
@ -1443,15 +1443,18 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
autoCorrect: function() {
|
autoCorrect: function() {
|
||||||
|
if (this.dlgAutoCorrect && this.dlgAutoCorrect.isVisible()) return;
|
||||||
|
|
||||||
if (!this._mathCorrect)
|
if (!this._mathCorrect)
|
||||||
this._mathCorrect = new Common.UI.DataViewStore();
|
this._mathCorrect = new Common.UI.DataViewStore();
|
||||||
if (!this._funcCorrect)
|
if (!this._funcCorrect)
|
||||||
this._funcCorrect = new Common.UI.DataViewStore();
|
this._funcCorrect = new Common.UI.DataViewStore();
|
||||||
(new Common.Views.AutoCorrectDialog({
|
this.dlgAutoCorrect = new Common.Views.AutoCorrectDialog({
|
||||||
mathStore: this._mathCorrect,
|
mathStore: this._mathCorrect,
|
||||||
functionsStore: this._funcCorrect,
|
functionsStore: this._funcCorrect,
|
||||||
api: this.api
|
api: this.api
|
||||||
})).show();
|
});
|
||||||
|
this.dlgAutoCorrect.show();
|
||||||
},
|
},
|
||||||
|
|
||||||
strIgnoreWordsInUPPERCASE: 'Ignore words in UPPERCASE',
|
strIgnoreWordsInUPPERCASE: 'Ignore words in UPPERCASE',
|
||||||
|
|
Loading…
Reference in a new issue