Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[StickyScrolling] Don't style outdated sticky lines
The search view with "reuse editor" enabled sets new source code in the existing editor and fires a extPresentation change event. 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
- Loading branch information