Skip to content

[Method Browser] Proposing to save changes for dirty methods#1383

Open
AlexisCnockaert wants to merge 1 commit intopharo-spec:Pharo14from
AlexisCnockaert:methodBrowser/discard-changes
Open

[Method Browser] Proposing to save changes for dirty methods#1383
AlexisCnockaert wants to merge 1 commit intopharo-spec:Pharo14from
AlexisCnockaert:methodBrowser/discard-changes

Conversation

@AlexisCnockaert
Copy link
Copy Markdown
Contributor

This code will work when all the SpCodePresenter stuff will be able to handle it, for now it don't understand when a method is dirty. I just prepared the ground.
However as Esteban said: "My intention is to create a meta-code-presenter (SpPharoEditorPresenter) that will handle all higher level stuff that can be modeled composing presenters", I will not propose a quick solution here, his idea is way better.
Since he has a prototype, I think we can wait.

Fixes #19553

This code will work when all the `SpCodePresenter` stuff will be able to handle it tho,  I just prepared the ground.
And as Esteban said: "My intention is to create a meta-code-presenter (SpPharoEditorPresenter) that will handle all higher level stuff that can be modeled composing presenters", I will not propose a quick solution, his idea is way better.
Since he has a prototype, I think we can wait.

Fixes #19553
@Ducasse
Copy link
Copy Markdown
Contributor

Ducasse commented Apr 15, 2026

Tx for the notice

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Closing method browser with edited code doesn't propose to save changes

2 participants