I think Shout is a beautiful tool and use all time. Try this in 3.7 5985. In a open SystemBrowser command click for bring halo. Select icon for duplicate . Clone window loose Shout formatting . Someone saw this strange behavior ?
Edgar
Yes, I have the same behavior. Forgot to report it, though... this is done now :)
Stef
Lic. Edgar J. De Cleene wrote:
I think Shout is a beautiful tool and use all time. Try this in 3.7 5985. In a open SystemBrowser command click for bring halo. Select icon for duplicate . Clone window loose Shout formatting . Someone saw this strange behavior ?
Edgar
Thanks for reporting this. It is caused by the actionMap for the styler not being copied during a veryDeepCopy. Here is a fix that works - although I am not sure that it is the correct/best thing to do...
SHTextStyler >> veryDeepCopyWith: deepCopier "patch up the eventHandlers in the copy" |answer | answer := super veryDeepCopyWith: deepCopier. EventManager actionMaps at: answer put: (self actionMap veryDeepCopyWith: deepCopier). ^answer
Does anyone know if there is a better way of handling this?
An unreleased version of Shout with this fix (and other fixes) is on SqueakSource at... http://kilana.unibe.ch:8888/shout/Shout.3.15.mcz
Cheers, Andy
----- Original Message ----- From: "Lic. Edgar J. De Cleene" edgardec2001@yahoo.com.ar To: "squeakdev" squeak-dev@lists.squeakfoundation.org Sent: Friday, August 06, 2004 11:58 PM Subject: [SHOUT][BUG] Strange behavior
I think Shout is a beautiful tool and use all time. Try this in 3.7 5985. In a open SystemBrowser command click for bring halo. Select icon for duplicate . Clone window loose Shout formatting . Someone saw this strange behavior ?
Edgar
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 08/07/2004
squeak-dev@lists.squeakfoundation.org