[DE] Bug 36827
This commit is contained in:
parent
b6ec334a7d
commit
9d1bf1199b
|
@ -354,6 +354,7 @@ define([
|
||||||
this.api.asc_registerCallback('asc_onColumnsProps', _.bind(this.onColumnsProps, this));
|
this.api.asc_registerCallback('asc_onColumnsProps', _.bind(this.onColumnsProps, this));
|
||||||
this.api.asc_registerCallback('asc_onSectionProps', _.bind(this.onSectionProps, this));
|
this.api.asc_registerCallback('asc_onSectionProps', _.bind(this.onSectionProps, this));
|
||||||
this.api.asc_registerCallback('asc_onContextMenu', _.bind(this.onContextMenu, this));
|
this.api.asc_registerCallback('asc_onContextMenu', _.bind(this.onContextMenu, this));
|
||||||
|
this.api.asc_registerCallback('asc_onShowParaMarks', _.bind(this.onShowParaMarks, this));
|
||||||
},
|
},
|
||||||
|
|
||||||
onChangeCompactView: function(view, compact) {
|
onChangeCompactView: function(view, compact) {
|
||||||
|
@ -611,6 +612,12 @@ define([
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
onShowParaMarks: function(v) {
|
||||||
|
this.toolbar.mnuNonPrinting.items[0].setChecked(v, true);
|
||||||
|
this.toolbar.btnShowHidenChars.toggle(v, true);
|
||||||
|
Common.localStorage.setItem("de-show-hiddenchars", v);
|
||||||
|
},
|
||||||
|
|
||||||
onApiFocusObject: function(selectedObjects) {
|
onApiFocusObject: function(selectedObjects) {
|
||||||
if (!this.editMode) return;
|
if (!this.editMode) return;
|
||||||
|
|
||||||
|
|
|
@ -1516,7 +1516,7 @@ define([
|
||||||
this.btnDecLeftOffset.updateHint(this.tipDecPrLeft + Common.Utils.String.platformKey('Ctrl+Shift+M'));
|
this.btnDecLeftOffset.updateHint(this.tipDecPrLeft + Common.Utils.String.platformKey('Ctrl+Shift+M'));
|
||||||
this.btnIncLeftOffset.updateHint(this.tipIncPrLeft + Common.Utils.String.platformKey('Ctrl+M'));
|
this.btnIncLeftOffset.updateHint(this.tipIncPrLeft + Common.Utils.String.platformKey('Ctrl+M'));
|
||||||
this.btnLineSpace.updateHint(this.tipLineSpace);
|
this.btnLineSpace.updateHint(this.tipLineSpace);
|
||||||
this.btnShowHidenChars.updateHint(this.tipShowHiddenChars);
|
this.btnShowHidenChars.updateHint(this.tipShowHiddenChars + Common.Utils.String.platformKey('Ctrl+*'));
|
||||||
this.btnMarkers.updateHint(this.tipMarkers);
|
this.btnMarkers.updateHint(this.tipMarkers);
|
||||||
this.btnNumbers.updateHint(this.tipNumbers);
|
this.btnNumbers.updateHint(this.tipNumbers);
|
||||||
this.btnMultilevels.updateHint(this.tipMultilevels);
|
this.btnMultilevels.updateHint(this.tipMultilevels);
|
||||||
|
|
Loading…
Reference in a new issue