Hi Carlos, I got this issue on my draft version of MaskedTextInput: https://github.com/RIAstar/MaskedTextInputFx/issues/2 I redirected the poster to the Apache Flex experimental component, but I think his issue might apply to your component as well. Did you think of RTL text support?
Cheers, Max On Wed, Jan 22, 2014 at 12:54 AM, Carlos Rovira < carlos.rov...@codeoscopic.com> wrote: > Just created the ticket: > > https://issues.apache.org/jira/browse/FLEX-34053 > > And make the first commit of this component to Apache Flex. > > As well fixed the copy/paste issue mentioned some days ago. > > Hope people can test and share now that the component is already in the > sdk. I'll make some revisions and fixes in the following days. > > Best, > > Carlos > > > > > > 2014/1/21 Carlos Rovira <carlos.rov...@codeoscopic.com> > > > Hi, > > > > a new revision of the MaskedTextinputComponent is here: > > > > https://gist.github.com/carlosrovira/7895322 > > > > and the demo update here (as usual): > > > > http://www.carlosrovira.com/blog/spark-maskedtextinput-demo/ > > > > No all bugs has gone yet, but there's important fixes: > > > > * Rebuild internal separatorLocations when maskedText change at runtime > > * override text routed to TextOperationEvent.CHANGE to throw textChange > > and change events. (The component is tested in validation scenarios and > > with other flex events like change and now is working as expected) - This > > is very important to be integrated as expected in your application using > > events, binding,etc like you do with a normal s:TextInput. > > * fixed verification chars allowed (better handling) > > * fixed some bugs on insertion when cursor is not at the end > > * fixed some bugs on deletion (more than one consecutive separator) > > > > There's some bugs to fix yet (some of them exposed by Maxime) and hope to > > see look to fix it soon, but though that this revision was important for > > people using it right now so I take the time to update this thread. > > > > Best, > > > > Carlos > > > > > > > > > > > > > > 2014/1/9 Kessler CTR Mark J <mark.kessler....@usmc.mil> > > > >> Here is a quick example usage... > >> > >> > >> var pattern:RegExp = RegExPatterns.createRegExp("what I'm matching", > >> RegExPatterns.CONTAINS); > >> > >> myTextInput.text.match(pattern); > >> or > >> myTextInput.text.replace(pattern, replacementObject); > >> or > >> myTextInput.text.search(pattern); > >> > >> > >> -Mark > >> > >> -----Original Message----- > >> From: carlos.rov...@gmail.com [mailto:carlos.rov...@gmail.com] On > Behalf > >> Of Carlos Rovira > >> Sent: Thursday, January 09, 2014 7:17 AM > >> To: dev@flex.apache.org > >> Subject: Re: New Flex MaskedTextInput Spark Component > >> > >> Hi Mark, thanks for pointing me to this class, I was not aware of it, > and > >> I > >> will add to my arsenal :). > >> > >> Regarding this concrete case, If we end inserting regex functionality in > >> the MaskedTextInput (very likely) we could think if we need some > behaviour > >> to complement this class. > >> > >> > > > > > > -- > > Carlos Rovira > > Director de TecnologĂa > > M: +34 607 22 60 05 > > F: +34 912 94 80 80 > > http://www.codeoscopic.com > > http://www.directwriter.es > > http://www.avant2.es > > > > > > -- > Carlos Rovira > Director de TecnologĂa > M: +34 607 22 60 05 > F: +34 912 94 80 80 > http://www.codeoscopic.com > http://www.directwriter.es > http://www.avant2.es >