You can try monkey-patching EditManager like so: switch(event.charCode) { case 122: // small z case 90: // fixed caps lock problem /* pre-Argo and on the mac then ignoreNextTextEvent */ if (!Configuration.versionIsAtLeast(10,1) && (Capabilities.os.search("Mac OS") > -1)) ignoreNextTextEvent = true; if(event.shiftKey){ redo(); event.preventDefault();
} else { undo(); event.preventDefault(); } break; case 121: // small y case 89: // fixed caps lock problem ignoreNextTextEvent = true; redo(); event.preventDefault(); break; > On Aug 10, 2017, at 12:45 AM, Harbs <harbs.li...@gmail.com> wrote: > > And I assume that in other browsers it’s always 121 and 122. Right? > >> On Aug 10, 2017, at 12:20 AM, Felipe Melo <fel...@snews.tv> wrote: >> >> Thanks for your reply. I did what you suggested but everything seems fine: >> >> caps lock on: Y=89, Z=90 >> caps lock off: y=121, z=122 >> >> I have already confirmed that is not a problem in my code because I was able >> to reproduce the problem in the "Text Controls" example running at >> http://flex.apache.org/tourdeflex/ (Spark Framework Components > Visual >> Components > Text Controls > Text Controls). >> >> The simple code below also presents the same problem: >> >> <?xml version="1.0"?> >> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" >> xmlns:s="library://ns.adobe.com/flex/spark"> >> <s:TextArea/> >> </s:Application> >> >> Thanks, >> >> >> >> >> -- >> View this message in context: >> http://apache-flex-users.2333346.n4.nabble.com/Ctrl-Z-with-caps-lock-on-not-working-in-Chrome-tp15676p15678.html >> Sent from the Apache Flex Users mailing list archive at Nabble.com. >