Skip to content

Commit

Permalink
Fix issue #5
Browse files Browse the repository at this point in the history
  • Loading branch information
nolwennfournier committed Aug 20, 2019
1 parent a8117a4 commit bbee15a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/Penfeld/PenInput.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@ PenInput class >> styleName [
^ #input
]

{ #category : #initialization }
PenInput >> defaultText [
^ ''
]

{ #category : #initialization }
PenInput >> initialize [
super initialize.
text := self defaultText.
]

{ #category : #accessing }
PenInput >> text [
^ text
]

{ #category : #accessing }
PenInput >> text: aString [
aString = text ifTrue: [ ^ self ].
Expand Down

0 comments on commit bbee15a

Please sign in to comment.