Commit 68c2ed73 authored by Alexander.Trofimov's avatar Alexander.Trofimov

add hot keys:

CTRL+SHIFT+~
Applies the General number format.

CTRL+SHIFT+$
Applies the Currency format with two decimal places (negative numbers in parentheses).
parent 7f811b5a
......@@ -934,7 +934,7 @@
if (!shiftKey) {
return false;
}
t.handlers.trigger("setCellFormat", Asc.c_oAscNumFormatType.Number);
t.handlers.trigger("setCellFormat", Asc.c_oAscNumFormatType.Currency);
return true;
}, 53: function () {
t.handlers.trigger("setFontAttributes", "s");
......@@ -962,6 +962,13 @@
}, 90: function () {
t.handlers.trigger("undo");
return true;
},
192: function () {
if (!shiftKey) {
return false;
}
t.handlers.trigger("setCellFormat", Asc.c_oAscNumFormatType.General);
return true;
}
};
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment