Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2016-11-05 19:12:00 +0000
committerDani Megert2016-11-07 09:53:17 +0000
commita79ee3160495d8173821f6af6d1c6284fe32ce57 (patch)
treecd497d51871f9c74086e8bd39244e37f1021e322
parent1c1763096e31aaccc4444dc78cbfb3cbc6979d03 (diff)
downloadeclipse.platform.text-a79ee3160495d8173821f6af6d1c6284fe32ce57.tar.gz
eclipse.platform.text-a79ee3160495d8173821f6af6d1c6284fe32ce57.tar.xz
eclipse.platform.text-a79ee3160495d8173821f6af6d1c6284fe32ce57.zip
Bug 507106 - Don't ask strange questions before showing revision info
for the first time Flipping the default, so that the org.eclipse.ui.internal.texteditor.LineNumberColumn.ensureQuickDiffProvider(String) by default never opens a dialog asking strange question. Change-Id: I9deeff9cc408a9adb794b4955a3513ca7dbd25f0 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditorPreferenceConstants.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditorPreferenceConstants.java b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditorPreferenceConstants.java
index 5e98a71b8..05b333414 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditorPreferenceConstants.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AbstractDecoratedTextEditorPreferenceConstants.java
@@ -16,6 +16,7 @@ import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.RGB;
import org.eclipse.jface.action.Action;
+import org.eclipse.jface.dialogs.MessageDialogWithToggle;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.preference.PreferenceConverter;
@@ -721,7 +722,7 @@ public class AbstractDecoratedTextEditorPreferenceConstants {
store.setDefault(SpellingService.PREFERENCE_SPELLING_ENGINE, ""); //$NON-NLS-1$
store.setDefault(SHOW_RANGE_INDICATOR, true);
- store.setDefault(REVISION_ASK_BEFORE_QUICKDIFF_SWITCH, ""); //$NON-NLS-1$
+ store.setDefault(REVISION_ASK_BEFORE_QUICKDIFF_SWITCH, MessageDialogWithToggle.ALWAYS);
store.setDefault(AbstractTextEditor.PREFERENCE_RULER_CONTRIBUTIONS, ""); //$NON-NLS-1$
store.setDefault(REVISION_RULER_RENDERING_MODE, IRevisionRulerColumnExtension.AGE.name());

Back to the top