Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ThreadSafeTranscript should be ported to Spec #17402

Open
Ducasse opened this issue Nov 17, 2024 · 0 comments
Open

ThreadSafeTranscript should be ported to Spec #17402

Ducasse opened this issue Nov 17, 2024 · 0 comments

Comments

@Ducasse
Copy link
Member

Ducasse commented Nov 17, 2024

Right now this is a morphic appl.

openLabel: aString
	| window m |
	window := (SystemWindow labelled: aString) model: self.
	m := RubPluggableTextMorph new
		getTextSelector: #contents;
		setTextSelector: #clear;
		on: self;
		beForSmalltalkScripting.
	m onAnnouncement: MorphDeleted do: [ self announcer unsubscribe: m  ].
	window addMorph: m frame: (0 @ 0 corner: 1 @ 1).
	^ window openInWorld

We should probably keep ThreadSafeTranscript as model and build a UI in Spec and remove openLabel and any UI stuff from ThreadSafeTranscript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant