Skip to content

Syntax highlighting modified lines#19834

Open
FedeLoch wants to merge 27 commits into
pharo-project:Pharo14from
FedeLoch:syntax-highlighting-modified-lines
Open

Syntax highlighting modified lines#19834
FedeLoch wants to merge 27 commits into
pharo-project:Pharo14from
FedeLoch:syntax-highlighting-modified-lines

Conversation

@FedeLoch

@FedeLoch FedeLoch commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Syntax highlighting modified lines [POC]

This pr adds the Diff edition feedback feature for Pharo.

How does it work?

When we modify a line, we observe this feedback:

Screenshot 2026-06-27 at 12 04 52

When we add a new line, we observe:

Screenshot 2026-06-27 at 12 05 22

And when we delete one:

Screenshot 2026-06-27 at 12 06 13

If we click any of them, we will see a read-only editor displaying the diff view, with the selected line highlighted:

image Screenshot 2026-06-27 at 12 07 06 Screenshot 2026-06-27 at 14 57 55

UI/UX Experience

Screen.Recording.2026-06-27.at.11.56.38.mov

Notes

  • Detected bug: when I make some changes and i push, tab feedback is not updated

FedeLoch added 17 commits June 26, 2026 15:09
* making tab closable

* fix

* new tba

* better tab

* fix bug

* fix another bug

* improving tab diff view

* improve size

* width

* diff

* fix

* feedback view

* improve feedback

* fixing condition

* fix

* fix bug
* improving ux

* fix error

* fix bug

* opening with deleted lines too

* ux improvement

* showing the whole feedbakc

* fixing the height

* fixing focus

* fix error

* centering the focus on the line
@Ducasse

Ducasse commented Jun 27, 2026

Copy link
Copy Markdown
Member

Great!
Now do you think that with the same mechanism we could see the method definition of a nessage send (to a monomoprhic or self send)?

@FedeLoch

Copy link
Copy Markdown
Contributor Author

Great! Now do you think that with the same mechanism we could see the method definition of a nessage send (to a monomoprhic or self send)?

Do you mean to open a quick read-only editor with a definition?.

The current read-only editor is showing the diff between the current text and the source of the same method ( class package ) that is saved in the repository that contains it.

@tesonep

tesonep commented Jun 27, 2026 via email

Copy link
Copy Markdown
Collaborator

@FedeLoch FedeLoch changed the title [WIP] Syntax highlighting modified lines Syntax highlighting modified lines Jul 5, 2026
@FedeLoch
FedeLoch marked this pull request as ready for review July 5, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants