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 239072 Details for
Bug 425847
Staging View commit message area gets easily corrupted when hard wrap is switched on
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]
Fix hard-wrap by enabling soft-wrap
egit.patch (text/plain), 1.12 KB, created by
Markus Keller
on 2014-01-16 12:11:53 EST
(
hide
)
Description:
Fix hard-wrap by enabling soft-wrap
Filename:
MIME Type:
Creator:
Markus Keller
Created:
2014-01-16 12:11:53 EST
Size:
1.12 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.egit.ui >diff --git src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java >index c7414aa..1aea6cd 100644 >--- src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java >+++ src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java >@@ -416,6 +416,7 @@ > } > }; > textWidget.addBidiSegmentListener(hardWrapSegmentListener); >+ textWidget.setWordWrap(true); // XXX: workaround for https://bugs.eclipse.org/425847 > textWidget.setText(textWidget.getText()); // XXX: workaround for https://bugs.eclipse.org/384886 > > if (brokenBidiPlatformTextWidth != -1) { >@@ -449,6 +450,7 @@ > } else if (hardWrapSegmentListener != null) { > StyledText textWidget = getTextWidget(); > textWidget.removeBidiSegmentListener(hardWrapSegmentListener); >+ textWidget.setWordWrap(false); // XXX: workaround for https://bugs.eclipse.org/425847 > textWidget.setText(textWidget.getText()); // XXX: workaround for https://bugs.eclipse.org/384886 > hardWrapSegmentListener = null; >
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 425847
: 239072