Comment #7 on issue 3579 by [email protected]: "declare temp" adds the
variable twice
http://code.google.com/p/pharo/issues/detail?id=3579
The problem seems to be in
OBPluggableTextMorphWithShout>>correctFrom:to:with
It's doing:
correctFrom: start to: stop with: aString
"see the comment in #acceptTextInModel "
unstyledAcceptText isNil ifFalse:
[ ^unstyledAcceptText
replaceFrom: start
to: stop
with: aString ].
^ super
correctFrom: start
to: stop
with: aString
Commenting this fixes the problem:
unstyledAcceptText isNil ifFalse:
[ ^unstyledAcceptText
replaceFrom: start
to: stop
with: aString ].
Does someone know if this change is ok?