Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/Calypso-Ring/ClyRing2Environment.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ ClyRing2Environment >> defaultClassCompiler [
^ self class compiler
]

{ #category : 'accessing' }
ClyRing2Environment >> definedClassesInPackage: aPackage [

^ aPackage definedClasses
]

{ #category : 'accessing' }
ClyRing2Environment >> environment [
^ environment
Expand Down
18 changes: 9 additions & 9 deletions src/Calypso-SystemTools-Core/ClyClassTableDecorator.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ ClyClassTableDecorator class >> decorateTableCell: anItemCellMorph of: aDataSour
| labelMorphExtension cmt |
labelMorphExtension := anItemCellMorph label assureExtension.
cmt := aDataSourceItem actualObject comment.
cmt
ifEmpty: [ cmt := ClyUncommentedItemTableDecorator balloonText ]
ifNotEmpty: [ | lines |
lines := cmt lines.
cmt := lines first: (lines size min: 3).
cmt := String cr join: cmt. ].
labelMorphExtension balloonText: cmt


Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when is the case that cmt does not understand content?
Could not we get all objects returned there to understand comment (I mean solving the cause instead of the consequence)?

((cmt respondsTo: #content)
ifTrue: [ cmt := cmt content ]
ifFalse: [ cmt ]) ifEmpty: [ cmt := ClyUncommentedItemTableDecorator balloonText ] ifNotEmpty: [
| lines |
lines := cmt lines.
cmt := lines first: (lines size min: 3).
cmt := String cr join: cmt ].
labelMorphExtension balloonText: cmt
]

{ #category : 'decoration' }
Expand Down