<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
Hi Christoph.<div><br></div><div>Thanks. Given the overall style of this method, I would have rather duplicated those #appendEntry lines instead of using #includes:.</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 06.06.2020 15:48:26 schrieb commits@source.squeak.org <commits@source.squeak.org>:</p><div style="font-family:Arial,Helvetica,sans-serif">Christoph Thiede uploaded a new version of ST80 to project The Inbox:<br>http://source.squeak.org/inbox/ST80-ct.255.mcz<br><br>==================== Summary ====================<br><br>Name: ST80-ct.255<br>Author: ct<br>Time: 6 June 2020, 3:48:16.215278 pm<br>UUID: 5469be3e-28ef-c54e-952c-674500374c05<br>Ancestors: ST80-nice.254<br><br>Fix Transcript in MVC projects if preference 'Force transcript updates to screen' is disabled.<br><br>Thanks to Marcel (mt) for the hint!<br><br>=============== Diff against ST80-nice.254 ===============<br><br>Item was changed:<br> ----- Method: PluggableTextView>>update: (in category 'updating') -----<br> update: aSymbol<br> "Refer to the comment in View|update:. Do nothing if the given symbol does not match any action. "<br> <br> aSymbol == #wantToChange ifTrue:<br> [self canDiscardEdits ifFalse: [self promptForCancel]. ^ self].<br> aSymbol == #flash ifTrue: [^ controller flash].<br> aSymbol == getTextSelector ifTrue: [^ self updateDisplayContents].<br> aSymbol == getSelectionSelector ifTrue: [^ self setSelection: self getSelection].<br> aSymbol == #clearUserEdits ifTrue: [^ self hasUnacceptedEdits: false].<br> (aSymbol == #autoSelect and: [getSelectionSelector ~~ nil]) ifTrue:<br> [ParagraphEditor abandonChangeText. "no replacement!!"<br> ^ controller setSearch: model autoSelectString;<br> againOrSame: true].<br>+ (#(#appendEntry appendEntryLater) includes: aSymbol) ifTrue:<br>- aSymbol == #appendEntry ifTrue:<br> [^ controller doOccluded: [controller appendEntry]].<br> aSymbol == #clearText ifTrue:<br> [^ controller doOccluded:<br> [controller changeText: Text new]].<br> aSymbol == #bs ifTrue:<br> [^ controller doOccluded:<br> [controller bsText]].<br> aSymbol == #codeChangedElsewhere ifTrue:<br> [^ self hasEditingConflicts: true].<br> aSymbol == #saveContents ifTrue:<br> [^self controller saveContentsInFile].<br> aSymbol == #close ifTrue:<br> [^self topView controller closeAndUnscheduleNoTerminate].<br> aSymbol == #acceptChanges ifTrue:<br> [^ self controller accept].<br> aSymbol == #revertChanges ifTrue:<br> [^ self controller cancel].!<br><br><br></div></blockquote>
</div></body>