Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2014-01-25 00:18:17 +0000
committerMatthias Sohn2014-01-25 00:20:11 +0000
commit16c186fe543f8d9a45c64f066c6f00230581595a (patch)
tree0c03a6d24633d858502be5e4824f6b2fb068413f
parent5a048d0de348f79c3fd871af60567f5533f60efd (diff)
downloadegit-16c186fe543f8d9a45c64f066c6f00230581595a.tar.gz
egit-16c186fe543f8d9a45c64f066c6f00230581595a.tar.xz
egit-16c186fe543f8d9a45c64f066c6f00230581595a.zip
Revert "Use scrolling instead of soft-wrap in commit message text field"
This reverts commit 3c58e4ed5ec994307ffb20fb78ec2269e04ce392. As Markus Keller pointed out this change has to wait until we can rely on SWT 4.4, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=425847#c5 Bug: 425847 Change-Id: I9fc954d970932687c59c5ff52cca09fb190df8ff Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java
index c7414aad65..adbeb46c91 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/SpellcheckableMessageArea.java
@@ -268,8 +268,7 @@ public class SpellcheckableMessageArea extends Composite {
AnnotationModel annotationModel = new AnnotationModel();
sourceViewer = new SourceViewer(this, null, null, true, SWT.MULTI
- | SWT.V_SCROLL | SWT.H_SCROLL);
- getTextWidget().setAlwaysShowScrollBars(false);
+ | SWT.V_SCROLL | SWT.WRAP);
getTextWidget().setFont(UIUtils
.getFont(UIPreferences.THEME_CommitMessageEditorFont));

Back to the top