Skip to content

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.

@github-actions
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.

@Christopher-Hermann Christopher-Hermann merged commit 8681223 into eclipse-platform:master Jan 13, 2025
17 checks passed
@Christopher-Hermann Christopher-Hermann deleted the fixIAE branch January 13, 2025 08:35
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