Skip to content

Conversation

@danthe1st
Copy link
Contributor

@danthe1st danthe1st commented Oct 26, 2025

When setVisibleRegion is repeatedly called with projection regions enabled, it first expands everything outside of the old visible region and then collapses everything inside the new visible region. This can result in Eclipse showing unwanted text for a fraction of a second.

Without this change:

Screencast_20251026_113947.webm

With this change:

Screencast_20251026_114117.webm

(I made the recordings with eclipse-jdt/eclipse.jdt.ui#2302 active to get the visible regions logic in JDT)

I don't think an automated test is reasonable for this but I can try to provide a way to reproduce this manually without JDT if necessary.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 26, 2025

Test Results

 3 016 files   - 2   3 016 suites   - 2   2h 19m 13s ⏱️ + 1m 49s
 8 249 tests ±0   8 001 ✅ ±0  248 💤 ±0  0 ❌ ±0 
23 662 runs   - 5  22 871 ✅  - 5  791 💤 ±0  0 ❌ ±0 

Results for commit 7f0ce1d. ± Comparison against base commit d145b2c.

♻️ This comment has been updated with latest results.

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.

2 participants