The Trunk: ST80-ct.307.mcz
| Newsgroups | gmane.comp.lang.smalltalk.squeak.general |
|---|---|
| Message-ID | <[email protected]> |
Christoph Thiede uploaded a new version of ST80 to project The Trunk: http://source.squeak.org/trunk/ST80-ct.307.mcz ==================== Summary ==================== Name: ST80-ct.307 Author: ct Time: 7 June 2026, 10:00:35.316308 pm UUID: fa6124e0-7703-4a21-9859-edba8683277d Ancestors: ST80-ct.306 Adds missing postscript to update cmd actions of MVC editors for changes from ST80-ct.294, ST80-mt.280, ST80-mt.271 (4.5 years ago!). This was even released in a stale state for Squeak 6.0. :o Also makes ParagraphEditor class>>initialize idempotent and thus less destructive in case of further edits (*). Adds missing cleanUp: for ParagraphEditor. (*) Yes the change to #initialize will automatically re-run it so technically speaking this would make the change to the postscript redundant, but I wanted to be explicit about this behavior here. =============== Diff against ST80-ct.306 =============== Item was added: + ----- Method: ParagraphEditor class>>cleanUp: (in category 'class initialization') ----- + cleanUp: aggressive + + aggressive ifTrue: [ + UndoSelection := FindText := ChangeText := Text new. + UndoMessage := Message selector: #noUndoer].! Item was changed: ----- Method: ParagraphEditor class>>initialize (in category 'class initialization') ----- initialize "Initialize the keyboard shortcut maps and the shared buffers for copying text across views and managing again and undo. Marked this method changed to trigger reinit" "ParagraphEditor initialize" + UndoSelection ifNil: [UndoSelection := Text new]. + FindText ifNil: [FindText := Text new]. + ChangeText ifNil: [ChangeText := Text new]. + UndoMessage ifNil: [UndoMessage := Message selector: #noUndoer]. - UndoSelection := FindText := ChangeText := Text new. - UndoMessage := Message selector: #halt. self initializeCmdKeyShortcuts. self initializeShiftCmdKeyShortcuts.! Item was changed: (PackageInfo named: 'ST80') postscript: 'Smalltalk removeFromStartUpList: ControlManager. + Smalltalk removeFromShutDownList: ControlManager. + ParagraphEditor initialize. "install updates for cmd actions from ST80-ct.294 (<cmd>D - debugIt), ST80-mt.280 (<cmd>= - no changeEmphasis), ST80-mt.271 (remove US-specific enclose shortcuts)"'! - Smalltalk removeFromShutDownList: ControlManager.'! Squeak-dev mailing list -- [email protected] To unsubscribe send an email to [email protected]