Bug 366471 - [Cocoa] Slow scrolling in editor on Mac OS X

When overlay scroll bars are used, Control.isObscured() always returns
true, causing isOpaque to return false. This causes performance problems
while redraw/scrolling. To avoid this, don't check for isObscured() in
isOpaque() if the object is StyledText.

See Bug 292281 for details of why isObscured() is tested in isOpaque().

Change-Id: I9d2684138ee6577d5cdd75b13fc6d99b873e3cfb
3 files changed
tree: 5601f535eaa05b3a0467a00bf35cb32d876925e8
  1. bundles/
  2. examples/
  3. features/
  4. local-build/
  5. tests/
  6. .gitignore
  7. pom.xml
  8. README.md
README.md

Contributing to SWT

Thanks for your interest in this project.

Developer resources:

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.

Contributor License Agreement:

Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).

Contact:

Contact the project developers via the project's “dev” list.

Search for bugs:

This project uses Bugzilla to track ongoing development and issues.

Create a new bug:

Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!