X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fcore%2Fdom%2Fevent.js;h=618a11035c156d89da83689851e876fd4f111ad3;hp=b0e02351bd31e4b13dfe7fe3acdb9b32e28d3cbc;hb=f0610347140239143439a511ee2bd48cb784f470;hpb=4e70ea24db840898be8cc21c950363a52a2a6aba diff --git a/_source/core/dom/event.js b/_source/core/dom/event.js index b0e0235..618a110 100644 --- a/_source/core/dom/event.js +++ b/_source/core/dom/event.js @@ -120,23 +120,26 @@ CKEDITOR.dom.event.prototype = } }; +// For the followind constants, we need to go over the Unicode boundaries +// (0x10FFFF) to avoid collision. + /** - * CTRL key (1000). + * CTRL key (0x110000). * @constant * @example */ -CKEDITOR.CTRL = 1000; +CKEDITOR.CTRL = 0x110000; /** - * SHIFT key (2000). + * SHIFT key (0x220000). * @constant * @example */ -CKEDITOR.SHIFT = 2000; +CKEDITOR.SHIFT = 0x220000; /** - * ALT key (4000). + * ALT key (0x440000). * @constant * @example */ -CKEDITOR.ALT = 4000; +CKEDITOR.ALT = 0x440000;