commit | c22d5ab616bcd3f7110637ed096666edd0fe8f47 | [log] [tgz] |
---|---|---|
author | Joel Majano <jmajano@redhat.com> | Mon Feb 14 09:32:07 2022 -0500 |
committer | Alexander Kurtakov <akurtako@redhat.com> | Mon Feb 14 10:38:54 2022 -0500 |
tree | f097cca43adf0c354a026fb7c37368f0c9560597 | |
parent | f887b59a7f65e5466caf7ade5e30eff544b0cba6 [diff] |
Bug 578735 - ImageAnalyzer taking too long to load images With this patch, a large image like a screenshot loads in a few seconds max, instead of >10 minutes. An ArrayList is used to collect all ranges, which is then converted to an Array to be passed to setStyleRanges(StyleRange[]). Change-Id: Ic0007a959df39c9a987232f34799c59f375dc210 Signed-off-by: Joel Majano <jmajano@redhat.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/190779 Tested-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
Thanks for your interest in this project.
See the following description for how to contribute a feature or a bug fix to SWT.
Information regarding source code management, builds, coding standards, and more and be found under the following link.
Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
Contact the project developers via the project's “dev” list.
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!