[Cuis-dev] TextModelMorph and source code style
Gerald Klix
cuis.01 at klix.ch
Tue Apr 12 13:00:05 PDT 2022
Hilaire,
I hope I understood you correctly: You want to pretty print the code (Ctrl-F in Pharo)?
Thats a bit tedious. Use the browser's show ...->pretty print item, optionally make some adjustments
and save the result. And don't forget to switch back to the "source" view.
HTH and best Regards,
Gerald
On Apr 12 2022, at 9:29 pm, Hilaire Fernandes via Cuis-dev <cuis-dev at lists.cuis.st> wrote:
>
> Hi,
>
>
> I have this TextModelMorph with Smalltalk source code:
> > codeView := TextModelMorph textProvider: self textGetter: #sourceCode.
> and I want it to style the code. How can I do it?
>
> I did not find
> Thanks
> Hilaire
>
>
> --
> GNU Dr. Geo
> http://drgeo.euhttp://blog.drgeo.eu
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220412/467bf9cd/attachment.htm>
More information about the Cuis-dev
mailing list