2013/4/27 Denis Kudriashov <dionisi...@gmail.com> > 2013/4/27 Sven Van Caekenberghe <s...@stfx.eu> > >> >> On 27 Apr 2013, at 10:02, Denis Kudriashov <dionisi...@gmail.com> wrote: >> >> > Hi >> > >> > 2013/4/27 Sven Van Caekenberghe <s...@stfx.eu> >> > Hi Denis, >> > >> > On 26 Apr 2013, at 23:19, Denis Kudriashov <dionisi...@gmail.com> >> wrote: >> > >> > > I'm happy to announce that new text editor based on new text model >> done. You can load configuration fromhttp:// >> www.smalltalkhub.com/#!/~sig/TxText. Last version: 0.6. >> > > See class side example methods. >> > >> > Impressive & cool ! >> > >> > But how do I actually run any of this code, apart from the tests ? >> > >> > I am not understrand what you want. All tests are runnable as usual >> from test runner or browser. >> > I not wrote test which opens text morph on some text. Example class >> side methods should be executed manually >> >> I am sorry, I just can't find any class side example code in the Tx >> packages/classes. Maybe I am looking in the wrong place. Can't you give an >> actual class where I should look or an executable code snippet ? >> > > Sorry about it too. It was deep night when I push ann. > TxTextMorph has class side example methods to see how it can be used. > > This examples based on #newTextContents: method which clean current text model and insert new string to it. If you want to edit and show multy styled text you should create TxModel instance manuallly and put it to morph by #textModel: To see how create text models looks at TxModelTests
> > >> >> Thx, >> >> Sven >> > >