Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 220072 Details for
Bug 375576
Controls are not fully realized when partOpened(...) , partBroughtToTop(...) and partActivated(...) are called
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
TextViewer workaround 2
eclipse.platform.text.patch (text/plain), 746 bytes, created by
Markus Keller
on 2012-08-20 14:47:18 EDT
(
hide
)
Description:
TextViewer workaround 2
Filename:
MIME Type:
Creator:
Markus Keller
Created:
2012-08-20 14:47:18 EDT
Size:
746 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jface.text >diff --git src/org/eclipse/jface/text/TextViewer.java src/org/eclipse/jface/text/TextViewer.java >index 188cbc3..90b92d8 100644 >--- src/org/eclipse/jface/text/TextViewer.java >+++ src/org/eclipse/jface/text/TextViewer.java >@@ -3273,10 +3273,16 @@ > > // XXX: Workaround for https://bugs.eclipse.org/375576 > final Shell shell= fTextWidget.getShell(); // only the shell layout is deferred >- while (shell.isLayoutDeferred()) >+ int d= 0; >+ for (; shell.isLayoutDeferred(); d++) > shell.setLayoutDeferred(false); >+ try { >+ internalRevealRange(start, end); >+ } finally { >+ for (; d > 0; d--) >+ shell.setLayoutDeferred(true); >+ } > >- internalRevealRange(start, end); > } > > /**
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 375576
:
213307
| 220072 |
257885