diff --git a/src/FAST-Core-Model-Extension/FASTTEntity.extension.st b/src/FAST-Core-Model-Extension/FASTTEntity.extension.st index e1b5e2c..844f29c 100644 --- a/src/FAST-Core-Model-Extension/FASTTEntity.extension.st +++ b/src/FAST-Core-Model-Extension/FASTTEntity.extension.st @@ -29,17 +29,18 @@ FASTTEntity >> display [ { #category : #'*FAST-Core-Model-Extension' } FASTTEntity >> inspectionFAST [ - + ^ SpTreeTablePresenter new addColumn: (SpCompositeTableColumn new addColumn: ((SpImageTableColumn evaluated: #mooseIcon) width: 20; yourself); - addColumn: (SpStringTableColumn evaluated: [ :node | node display ]); + addColumn: + (SpStringTableColumn evaluated: [ :node | node display ]); yourself); - children: [ :aClass | - aClass children asArray sorted: [ :a :b | - (a startPos ifNil: 0) <= (b startPos ifNil: 0) ] ]; + children: [ :aClass | + aClass children asArray sorted: [ :a :b | + (a startPos ifNil: [ 0 ]) <= (b startPos ifNil: [ 0 ]) ] ]; beMultipleSelection; roots: { self }; beResizable @@ -48,9 +49,9 @@ FASTTEntity >> inspectionFAST [ { #category : #'*FAST-Core-Model-Extension' } FASTTEntity >> inspectionFASTSourceCode [ - - (self sourceText isNotNil and: [ - self startPos isNotNil and: [ self endPos isNotNil ] ]) ifFalse: [ + + (self sourceText isNotNil and: [ + self startPos isNotNil and: [ self endPos isNotNil ] ]) ifFalse: [ ^ SpTextPresenter new text: 'Not available'; yourself ]. diff --git a/src/FAST-Core-Tools/FASTTEntity.extension.st b/src/FAST-Core-Tools/FASTTEntity.extension.st index 29efb69..f44d90d 100644 --- a/src/FAST-Core-Tools/FASTTEntity.extension.st +++ b/src/FAST-Core-Tools/FASTTEntity.extension.st @@ -19,7 +19,7 @@ FASTTEntity >> dump [ { #category : #'*FAST-Core-Tools' } FASTTEntity >> inspectionFASTDump [ - + ^ SpCodePresenter new text: (RBParser parseExpression: self dump) formattedCode; beForScripting;