Re: [Pharo-users] Text editor + morph

2018-10-07 Thread Hilaire
Hi Nicolai, Thanks for the tips! I tried it out with DrGeo and it gives interesting result (screenshot). Text can be edited and the DrGeo view is fully interactive. It is very close to what I am looking for. Hilaire PS: The used code was: |text block c ptA ptB ptC angle segA segB segC|     c

Re: [Pharo-users] Text editor + morph

2018-10-07 Thread Nicolai Hess
The "old" way, a Morph asText, still works. I don't know if this is still fully usable with normal text operations: |text block| block := [ Morph new asText, ' some text']. text:=(Smalltalk ui theme builder newTextEditorFor: block getText: #value setText: nil). text openInWindow. Am Mi., 3. Ok

Re: [Pharo-users] Text editor + morph

2018-10-07 Thread Hilaire
Hi Hannes, Thanks for the tips and the reference, which I did not know about until now. I will take a close look to it. Hilaire Le 07/10/2018 à 09:04, H. Hirzel a écrit : > I would put it differently: > > Use an object and embed Text editors and DrGeo canvas objects. > This idea is taken out o

Re: [Pharo-users] Text editor + morph

2018-10-06 Thread Hilaire
If there are no such text editor, is there a best candidate to inherit from and extend? I have about no knowledge regarding the text editor implementations in Pharo. Hilaire Le 03/10/2018 à 18:31, Hilaire a écrit : > In Pharo, do we have a text editor where it is possible to embed > arbitrary M

[Pharo-users] Text editor + morph

2018-10-03 Thread Hilaire
Hi, In Pharo, do we have a text editor where it is possible to embed arbitrary Morph object? Thanks Hilaire -- Dr. Geo http://drgeo.eu