2017-05-03 16:57 GMT+02:00 Julien Delplanque <jul...@tamere.eu>: > Hello, > > I looked in the mailing list archive but did not found an answer. > > Is there any way to have Smalltalk syntactic coloration in a TextModel > without having to put efforts in it? > > I mean, if I do: > > TextModel new > isForSmalltalkCode: true; > text: (Collection>>#any) sourceCode; > openWithSpec > > The text displayed is black. > > Thanks in advance, > > Julien > > > Hi, you need to add aboutToStyle:true
TextModel new isForSmalltalkCode: true; text: (Collection>>#anyOne) sourceCode; aboutToStyle: true; openWithSpec