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

StickyScrolling: Exceptions while opening Java editors from Search view #2680

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Christopher-Hermann
Copy link
Contributor

The search view with "reuse editor" enabled sets new source code in the existing editor and causes a resize. In this call, it can happen that the sticky line number exceeds the amount of line in the new source code. In general this is not a problem since the sticky lines will be recalculated afterwards, but to avoid IllegalArgumentException it is checked for this case.

Fixes #2678

The search view with "reuse editor" enabled sets new source code in the existing editor and causes a resize. In this call, it can happen that the sticky line number exceeds the amount of line in the new source code. In general this is not a problem since the sticky lines will be recalculated afterwards, but to avoid IllegalArgumentException it is checked for this case.

Fixes eclipse-platform#2678
@Christopher-Hermann Christopher-Hermann self-assigned this Jan 10, 2025
@Christopher-Hermann
Copy link
Contributor Author

@iloveeclipse could you please retest your scenario?

@BeckerWdf BeckerWdf added this to the 4.35 M2 milestone Jan 10, 2025
@iloveeclipse
Copy link
Member

I'm away of keyboard today. Will check on monday. But if you confident, feel free to merge.

Copy link
Contributor

Test Results

 1 818 files  ±0   1 818 suites  ±0   1h 32m 2s ⏱️ - 4m 2s
 7 733 tests +1   7 505 ✅ +1  228 💤 ±0  0 ❌ ±0 
24 360 runs  +3  23 611 ✅ +3  749 💤 ±0  0 ❌ ±0 

Results for commit ff23c4f. ± Comparison against base commit f878f80.

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.

StickyScrolling: Exceptions while opening Java editors from Search view
3 participants