<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
Hi all!<div><br></div><div>I backported this fix to Squeak 5.3, 5.2, and 5.1.</div><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
<p style="color: #AAAAAA; margin-top: 10px;">Am 04.05.2020 11:28:33 schrieb commits@source.squeak.org <commits@source.squeak.org>:</p><div style="font-family:Arial,Helvetica,sans-serif">Marcel Taeumel uploaded a new version of Morphic to project The Trunk:<br>http://source.squeak.org/trunk/Morphic-mt.1655.mcz<br><br>==================== Summary ====================<br><br>Name: Morphic-mt.1655<br>Author: mt<br>Time: 4 May 2020, 11:28:00.740912 am<br>UUID: a7baaad5-39dc-9c43-adce-02c055e280e2<br>Ancestors: Morphic-fn.1654<br><br>In fill-in dialogs, it should always be possible to accept the contents even if they are empty or appear otherwise unchanged.<br><br>Note that "hasUnacceptedEdits: true" might not be needed anymore. Anyway, the MorphicToolBuilder gave me some hints on how #askBeforeDiscardingEdits and #alwaysAccept are related.<br><br>=============== Diff against Morphic-fn.1654 ===============<br><br>Item was changed:<br> ----- Method: FillInTheBlankMorph>>createTextPaneAcceptOnCR: (in category 'initialization') -----<br> createTextPaneAcceptOnCR: acceptBoolean <br> <br> textPane := PluggableTextMorph<br> on: self<br> text: #response<br> accept: #response:<br> readSelection: #selectionInterval<br> menu: #codePaneMenu:shifted:.<br> textPane <br> showScrollBarsOnlyWhenNeeded;<br> wantsFrameAdornments: false;<br> hasUnacceptedEdits: true;<br>+ askBeforeDiscardingEdits: false;<br>+ setProperty: #alwaysAccept toValue: true;<br> acceptOnCR: acceptBoolean;<br> setNameTo: 'textPane';<br> layoutFrame: (LayoutFrame fractions: (0@0 corner: 1@1));<br> hResizing: #spaceFill;<br> vResizing: #spaceFill;<br> scrollToTop.<br> ^ textPane!<br><br><br></div></blockquote>
</div></body>