Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix a typo #23

Merged
merged 1 commit into from
Jul 23, 2024
Merged
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
2 changes: 1 addition & 1 deletion src/Bloc-Serialization-Stash/BlAttributeRope.extension.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlAttributeRope }

{ #category : #'*Bloc-Serialization-Stash' }
BlAttributeRope >> asStashContructor [
BlAttributeRope >> asStashConstructor [

^ self class printString
]
Expand Down
2 changes: 1 addition & 1 deletion src/Bloc-Serialization-Stash/BlBasicLayout.extension.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlBasicLayout }

{ #category : #'*Bloc-Serialization-Stash' }
BlBasicLayout >> asStashContructor [
BlBasicLayout >> asStashConstructor [

^ 'BlBasicLayout uniqueInstance'
]
Expand Down
2 changes: 1 addition & 1 deletion src/Bloc-Serialization-Stash/BlElevation.extension.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlElevation }

{ #category : #'*Bloc-Serialization-Stash' }
BlElevation >> asStashContructor [
BlElevation >> asStashConstructor [

^ self class printString , ' elevation: ' , self elevation printString
]
2 changes: 1 addition & 1 deletion src/Bloc-Serialization-Stash/BlFlowLayout.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ BlFlowLayout >> allSetterAndGettersForMyStash [
]

{ #category : #'*Bloc-Serialization-Stash' }
BlFlowLayout >> asStashContructor [
BlFlowLayout >> asStashConstructor [

self orientation isVertical ifTrue: [ ^ 'BlFlowLayout vertical' ].
^ 'BlFlowLayout horizontal'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlFocusabilityAfter }

{ #category : #'*Bloc-Serialization-Stash' }
BlFocusabilityAfter >> asStashContructor [
BlFocusabilityAfter >> asStashConstructor [

^ 'BlFocusability after'
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlFocusabilityBefore }

{ #category : #'*Bloc-Serialization-Stash' }
BlFocusabilityBefore >> asStashContructor [
BlFocusabilityBefore >> asStashConstructor [

^ 'BlFocusability before'
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlFocusabilityBlock }

{ #category : #'*Bloc-Serialization-Stash' }
BlFocusabilityBlock >> asStashContructor [
BlFocusabilityBlock >> asStashConstructor [

^ 'BlFocusability block'
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlFocusabilityIgnore }

{ #category : #'*Bloc-Serialization-Stash' }
BlFocusabilityIgnore >> asStashContructor [
BlFocusabilityIgnore >> asStashConstructor [

^ 'BlFocusability ignore'
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlFocusabilityNone }

{ #category : #'*Bloc-Serialization-Stash' }
BlFocusabilityNone >> asStashContructor [
BlFocusabilityNone >> asStashConstructor [

^ 'BlFocusability none'
]
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Extension { #name : #BlGaussianShadowEffect }

{ #category : #'*Bloc-Serialization-Stash' }
BlGaussianShadowEffect >> asStashContructor [
BlGaussianShadowEffect >> asStashConstructor [

self flag: #ToFix. "Not correct".
^ 'BlGaussianShadowEffect color: (' , self color asStashContructor
^ 'BlGaussianShadowEffect color: (' , self color asStashConstructor
, ') width: (' , self width printString , ') offset: (('
, self offset x printString , ')@(' , self offset y printString
, '))'
Expand Down
2 changes: 1 addition & 1 deletion src/Bloc-Serialization-Stash/BlInsets.extension.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlInsets }

{ #category : #'*Bloc-Serialization-Stash' }
BlInsets >> asStashContructor [
BlInsets >> asStashConstructor [

self isUniform ifTrue: [
self left = 0
Expand Down
2 changes: 1 addition & 1 deletion src/Bloc-Serialization-Stash/BlLinearLayout.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ BlLinearLayout >> allSetterAndGettersForMyStash [
]

{ #category : #'*Bloc-Serialization-Stash' }
BlLinearLayout >> asStashContructor [
BlLinearLayout >> asStashConstructor [

self isVertical ifTrue: [ ^ 'BlLinearLayout vertical' ].
^ 'BlLinearLayout horizontal'
Expand Down
2 changes: 1 addition & 1 deletion src/Bloc-Serialization-Stash/BlMatrix2D.extension.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlMatrix2D }

{ #category : #'*Bloc-Serialization-Stash' }
BlMatrix2D >> asStashContructor [
BlMatrix2D >> asStashConstructor [

self isIdentity ifTrue: [ ^ 'BlMatrix2D new' ].
^ 'BlMatrix2D new x: <1p>; y: <2p>; shx: <3p>; shy: <4p>; sx: <5p>; sy: <6p>; yourself'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ BlMatrixTransformation >> stashAccessors [
<stashAccessors>
^ { ([ :transform |
'matrix: (<1s>)' expandMacrosWith:
transform matrix asStashContructor ] -> self) onlySetOnStash }
transform matrix asStashConstructor ] -> self) onlySetOnStash }
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlOutskirtsCentered }

{ #category : #'*Bloc-Serialization-Stash' }
BlOutskirtsCentered >> asStashContructor [
BlOutskirtsCentered >> asStashConstructor [

^ 'BlOutskirts centered'
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlOutskirtsInside }

{ #category : #'*Bloc-Serialization-Stash' }
BlOutskirtsInside >> asStashContructor [
BlOutskirtsInside >> asStashConstructor [

^ 'BlOutskirts inside'
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlOutskirtsOutside }

{ #category : #'*Bloc-Serialization-Stash' }
BlOutskirtsOutside >> asStashContructor [
BlOutskirtsOutside >> asStashConstructor [

^ 'BlOutskirts outside'
]
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ BlRotationTransformation >> stashAccessors [
self axis = BlVector zAxis
ifFalse: [
allSetterAndGettersForMyStash add: ([ :transform |
'rotateBy: ' , transform angle asStashContructor , 'around:'
, transform axis asStashContructor ] -> self) onlySetOnStash ]
'rotateBy: ' , transform angle asStashConstructor , 'around:'
, transform axis asStashConstructor ] -> self) onlySetOnStash ]
ifTrue: [
allSetterAndGettersForMyStash add:
([ :transform | 'rotateBy: ' , transform angle asStashContructor ]
([ :transform | 'rotateBy: ' , transform angle asStashConstructor ]
-> self) onlySetOnStash ].
^ allSetterAndGettersForMyStash
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlRoundedRectangleGeometry }

{ #category : #'*Bloc-Serialization-Stash' }
BlRoundedRectangleGeometry >> asStashContructor [
BlRoundedRectangleGeometry >> asStashConstructor [

(self cornerRadii topLeft = self cornerRadii bottomRight and: [
self cornerRadii topLeft = self cornerRadii topRight and: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ BlScalingTransformation >> stashAccessors [
<stashAccessors>
self scale x = self scale y ifTrue: [
^ { ([ :transform |
'scaleBy: <1s>' expandMacrosWith: transform scale x asStashContructor ] -> self)
'scaleBy: <1s>' expandMacrosWith: transform scale x asStashConstructor ] -> self)
onlySetOnStash } ].
^ { ([ :transform |
'scaleBy: <1s> @ <2s>'
expandMacrosWith: transform scale x asStashContructor
with: transform scale y asStashContructor ] -> self) onlySetOnStash }
expandMacrosWith: transform scale x asStashConstructor
with: transform scale y asStashConstructor ] -> self) onlySetOnStash }
]
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Extension { #name : #BlSimpleShadowEffect }

{ #category : #'*Bloc-Serialization-Stash' }
BlSimpleShadowEffect >> asStashContructor [
BlSimpleShadowEffect >> asStashConstructor [

self flag: #ToFix. "Not correct"
^ 'BlSimpleShadowEffect color: (' , self color asStashContructor
^ 'BlSimpleShadowEffect color: (' , self color asStashConstructor
, ') offset: ((' , self offset x printString , ')@('
, self offset y printString , '))'
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlStrokeLineBevelJoin }

{ #category : #'*Bloc-Serialization-Stash' }
BlStrokeLineBevelJoin >> asStashContructor [
BlStrokeLineBevelJoin >> asStashConstructor [

^ 'BlStrokeLineJoin bevel'
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlStrokeLineButtCap }

{ #category : #'*Bloc-Serialization-Stash' }
BlStrokeLineButtCap >> asStashContructor [
BlStrokeLineButtCap >> asStashConstructor [

^ 'BlStrokeLineCap butt'
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlStrokeLineMiterJoin }

{ #category : #'*Bloc-Serialization-Stash' }
BlStrokeLineMiterJoin >> asStashContructor [
BlStrokeLineMiterJoin >> asStashConstructor [

^ 'BlStrokeLineJoin miter'
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlStrokeLineRoundCap }

{ #category : #'*Bloc-Serialization-Stash' }
BlStrokeLineRoundCap >> asStashContructor [
BlStrokeLineRoundCap >> asStashConstructor [

^ 'BlStrokeLineCap round'
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlStrokeLineRoundJoin }

{ #category : #'*Bloc-Serialization-Stash' }
BlStrokeLineRoundJoin >> asStashContructor [
BlStrokeLineRoundJoin >> asStashConstructor [

^ 'BlStrokeLineJoin round'
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlStrokeLineSquareCap }

{ #category : #'*Bloc-Serialization-Stash' }
BlStrokeLineSquareCap >> asStashContructor [
BlStrokeLineSquareCap >> asStashConstructor [

^ 'BlStrokeLineCap square'
]
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ BlTranslationTransformation >> stashAccessors [
<stashAccessors>
^ { ([ :transform |
'translateBy: <1s> @ <2s>'
expandMacrosWith: transform translation x asStashContructor
with: transform translation y asStashContructor ] -> self) onlySetOnStash }
expandMacrosWith: transform translation x asStashConstructor
with: transform translation y asStashConstructor ] -> self) onlySetOnStash }
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlTriangleGeometry }

{ #category : #'*Bloc-Serialization-Stash' }
BlTriangleGeometry >> asStashContructor [
BlTriangleGeometry >> asStashConstructor [

self isTop ifTrue: [ ^ 'BlTriangleGeometry new beTop' ].
self isBottom ifTrue: [ ^ 'BlTriangleGeometry new beBottom' ].
Expand Down
2 changes: 1 addition & 1 deletion src/Bloc-Serialization-Stash/BlVector2D.extension.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlVector2D }

{ #category : #'*Bloc-Serialization-Stash' }
BlVector2D >> asStashContructor [
BlVector2D >> asStashConstructor [

self = BlVector xAxis ifTrue: [ ^ 'BlVector xAxis' ].
self = BlVector yAxis ifTrue: [ ^ 'BlVector yAxis' ].
Expand Down
2 changes: 1 addition & 1 deletion src/Bloc-Serialization-Stash/BlVector3D.extension.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlVector3D }

{ #category : #'*Bloc-Serialization-Stash' }
BlVector3D >> asStashContructor [
BlVector3D >> asStashConstructor [

self = BlVector xAxis ifTrue: [ ^ 'BlVector xAxis' ].
self = BlVector yAxis ifTrue: [ ^ 'BlVector yAxis' ].
Expand Down
2 changes: 1 addition & 1 deletion src/Bloc-Serialization-Stash/BlVisibilityGone.extension.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlVisibilityGone }

{ #category : #'*Bloc-Serialization-Stash' }
BlVisibilityGone >> asStashContructor [
BlVisibilityGone >> asStashConstructor [

^ 'BlVisibility gone'
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlVisibilityHidden }

{ #category : #'*Bloc-Serialization-Stash' }
BlVisibilityHidden >> asStashContructor [
BlVisibilityHidden >> asStashConstructor [

^ 'BlVisibility hidden'
]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #BlVisibilityVisible }

{ #category : #'*Bloc-Serialization-Stash' }
BlVisibilityVisible >> asStashContructor [
BlVisibilityVisible >> asStashConstructor [

^ 'BlVisibility visible'
]
Loading