eclipse-platform / eclipse-platform/eclipse.platform

With very large documents the embedded search freezes the UI

Open
#2,128 2 comments 1 reaction 0 assignees View on GitHub
performance
Dominant language
Java
Stars
165
Forks
174
Avg merge
2d 8h
Merged PRs (30d)
22

Description

If one edits large test documents ( > 150 MB) this works quite nice in Eclipse except if one uses the embedded search control.

The problem is that when one enter a character that is contained in the document it tires to highlight matches, this then could take very long and freezes the UI in the meanwhile.

I'm not sure what is slow, the search itself or the highlight of the results, but one idea would be to only perform the highlight for the portions of the document that is currently visible (+/- a few lines) and update only when the document is scrolled.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.