[squeak-dev] The Inbox: Tools-ct.1090.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Dec 15 18:28:23 UTC 2021


A new version of Tools was added to project The Inbox:
http://source.squeak.org/inbox/Tools-ct.1090.mcz

==================== Summary ====================

Name: Tools-ct.1090
Author: ct
Time: 15 December 2021, 7:28:20.259022 pm
UUID: 148e220c-d440-3748-85f5-7d1138de3036
Ancestors: Tools-ct.1089

Proposal: Style the contents of code holders (such as browsers) when diffing is enabled but there is no prior version available.

Uploading this to the inbox because I'm not absolutely sure about this - on the one hand, it would improve the readability in place; on the other hand, finding out whether diffs are turned on becomes harder (however, the green triangle still indicates this mode). Please give feedback! :-)

=============== Diff against Tools-ct.1089 ===============

Item was changed:
  ----- Method: CodeHolder>>isModeStyleable (in category 'contents') -----
  isModeStyleable
  	"determine the current mode can be styled"
+ 	^ self showingSource
+ 		or: [self showingPrettyPrint]
+ 		or: [self showingAnyKindOfDiffs and: [self priorSourceOrNil isNil]]!
- 	^ self showingSource or: [self showingPrettyPrint]!



More information about the Squeak-dev mailing list