Closed koendehondt closed 1 month ago
I will have a look.
Are you sure about this asStringOrText (it looks not really nice to my eyes)?
Are you sure about this asStringOrText (it looks not really nice to my eyes)?
Yes, I am sure. I checked all the code, so also this part. I was surprised too 😄.
See SpListPresenter>>#initialize
:
initialize
super initialize.
self initializeTSearchable.
autoDeselect := true.
allowToSelect := true.
display := [ :object | object asStringOrText ]
@Ducasse I added all examples of this chapter to the code repo. See ListTableAndTreeExamples
.
Doing so, I found a few issues in the text. I fixed them. See the latest commits.
In fact I would introduce a method that call Smalltalk globals allClasses because we should remove this Smalltalk variable in the future.