2013/5/28 Tudor Girba <tu...@tudorgirba.com> > Hi, > > I found the issue: the url from the Gofer script was wrong :). > > Here is the correct one: > Gofer it > url: 'http://www.smalltalkhub.com/mc/sig/TxText/main'; > package: 'ConfigurationOfTxText'; > load. >
It is true of course. But I can't understand why it works for me with ' http://www.smalltalkhub.com/#!/~sig/TxText'; url Any way thank's for this fix > > ((Smalltalk at: #ConfigurationOfTxText) project version: '1.0') load: > #('ALL'). > > Cheers, > Doru > > > > On May 27, 2013, at 6:44 AM, Denis Kudriashov <dionisi...@gmail.com> > wrote: > > > 2013/5/27 Tudor Girba <tu...@tudorgirba.com> > > I tried to load it, but could not because in the sig repository, the > latest version of the configuration is still 0.6. > > > > > > It works for me. I use Pharo 2.0 on Windows 7. > > And you can see by webbrowser all versions exist at smalltalkhub > repository http://www.smalltalkhub.com/#!/~sig/TxText > > > > Cheers, > > Doru > > > > > > On May 26, 2013, at 11:09 PM, Denis Kudriashov <dionisi...@gmail.com> > wrote: > > > > > Hello. > > > > > > I finish edit validation logic. So new version 1.0 is available: > > > > > > Gofer it > > > url: 'http://www.smalltalkhub.com/#!/~sig/TxText'; > > > package: 'ConfigurationOfTxText'; > > > load. > > > > > > ((Smalltalk at: #ConfigurationOfTxText) project version: '1.0') load: > > > #('ALL'). > > > > > > TxEditValidator is introduced for TxEditor. It validates changes > performed by given block. > > > It asks editor to try changes from this block. And if changed text > satisfied text spec validator executes given block to apply changes. > > > > > > Few text specs implemented: > > > -TxAnyTextSpec > > > -TxDigitalTextSpec > > > -TxDecimalTextSpec > > > > > > More example of text specs are at TxTextMorph class side: > > > - mask with digits only > > > - smart numbers which accept only decimal numbers: > > > > > > m := TxTextMorph new. > > > m editDecorator: TxSingleLineEditDecorator smartNumbers. > > > m textSpec: (TxDecimalTextSpec maxDecimalDigits: 3). > > > m newTextContents: '10000000'. > > > m addCursor. > > > m beEditable. > > > m openInHand > > > > > > Best regards. > > > Denis. > > > > > > > > > > -- > > www.tudorgirba.com > > > > "Problem solving efficiency grows with the abstractness level of problem > understanding." > > > > > > > > > > > > -- > www.tudorgirba.com > > "Quality cannot be an afterthought." > > >