23 lines
473 B
Smalltalk
23 lines
473 B
Smalltalk
Class {
|
|
#name : #GrafoscopioFmtEndingSpace,
|
|
#superclass : #GrafoscopioFormat,
|
|
#category : #'Grafoscopio-Pillar'
|
|
}
|
|
|
|
{ #category : #'target resize' }
|
|
GrafoscopioFmtEndingSpace >> applyOn: aString from: textStart to: textStop [
|
|
^ textStop = model textStop
|
|
ifTrue: [ aString , ' ' ]
|
|
ifFalse: [ aString ]
|
|
]
|
|
|
|
{ #category : #'target resize' }
|
|
GrafoscopioFmtEndingSpace >> leftSize [
|
|
^ 0
|
|
]
|
|
|
|
{ #category : #'target resize' }
|
|
GrafoscopioFmtEndingSpace >> rightSize [
|
|
^ 1
|
|
]
|