mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-27 21:54:59 +08:00
[DE] Bug 36827
This commit is contained in:
@ -354,6 +354,7 @@ define([
|
||||
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_onContextMenu', _.bind(this.onContextMenu, this));
|
||||
this.api.asc_registerCallback('asc_onShowParaMarks', _.bind(this.onShowParaMarks, this));
|
||||
},
|
||||
|
||||
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) {
|
||||
if (!this.editMode) return;
|
||||
|
||||
|
||||
@ -1516,7 +1516,7 @@ define([
|
||||
this.btnDecLeftOffset.updateHint(this.tipDecPrLeft + Common.Utils.String.platformKey('Ctrl+Shift+M'));
|
||||
this.btnIncLeftOffset.updateHint(this.tipIncPrLeft + Common.Utils.String.platformKey('Ctrl+M'));
|
||||
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.btnNumbers.updateHint(this.tipNumbers);
|
||||
this.btnMultilevels.updateHint(this.tipMultilevels);
|
||||
|
||||
Reference in New Issue
Block a user