Spec icon indicating copy to clipboard operation
Spec copied to clipboard

Can we rename windowIsOpened into openedWindow

Open Ducasse opened this issue 1 year ago • 3 comments

windowIsOpened looks like a testing predicate but this is not

windowIsOpened

	isClosed := false

Ducasse avatar Feb 17 '25 10:02 Ducasse

windowIsClosing (used in Morph - bad idea) would be better named windowClosing

The is conveys the idea that this is a predicate.

Ducasse avatar Feb 17 '25 10:02 Ducasse

windowIsOpening should be renamed windowOpening to follow windowClosing above

windowIsOpening

	self windowIsOpened

Ducasse avatar Feb 17 '25 10:02 Ducasse

windowClosed
	
	isClosed := true.
	self application windowClosed: self

-> closeWindow

Ducasse avatar Feb 17 '25 10:02 Ducasse