Skip to content

Conversation

@mps-ci-buildbot
Copy link
Collaborator

Merge changes from maintenance/mps20241 to maintenance/mps20251.

slisson and others added 4 commits December 2, 2025 11:10
Expensive computations were done in the paint method which are supposed to be done in the relayout
method.

The computation of the lines and their positions is now done only once after 1 second of inactivity.
Usually, the inconsistency is only noticeable for the line number at the end.
At least the line numbers are not important enough for the user experience to justify more
utilization of the EDT thread, which is already an overused resource.

Fixes #1662
perf(linenumbers): they were slowing down the update of the main editor
Merge maintenance/mps20232 into maintenance/mps20241
…/mps20251

# Conflicts:
#	code/linenumbers/de.itemis.mps.linenumbers/models/de.itemis.mps.linenumbers.plugin.mps
@mps-ci-buildbot mps-ci-buildbot merged commit aa6f92d into maintenance/mps20251 Dec 9, 2025
2 checks passed
@mps-ci-buildbot mps-ci-buildbot deleted the merge/mps20251 branch December 9, 2025 11:52
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