Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Patch for 56895 (Link to editor default value is different than in the JDT)


This patch changes the Link to editor default for the C/C++ editors to be off.  (In JDT the default is off, and I think that we should be consistent).

        - Dave

Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.ui/ChangeLog,v
retrieving revision 1.342
diff -u -r1.342 ChangeLog
--- ChangeLog	31 Mar 2004 07:57:12 -0000	1.342
+++ ChangeLog	31 Mar 2004 12:12:20 -0000
@@ -1,3 +1,8 @@
+2004-03-31 David Daoust
+	Changed the default value for the preference "LinkToEditor" to be 
+	off -- the same as in the JDT.
+	* src/org/eclipse/cdt/internal/ui/preferences/CPluginPreferencePage.java
+
 2004-03-31 Bogdan Gheorghe
 	Fixed the overview annotations in the Overview bar in the CEditor
 	Modified the CEditorPreferencePage to add the Index Marker annotation
Index: src/org/eclipse/cdt/internal/ui/preferences/CPluginPreferencePage.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/CPluginPreferencePage.java,v
retrieving revision 1.13
diff -u -r1.13 CPluginPreferencePage.java
--- src/org/eclipse/cdt/internal/ui/preferences/CPluginPreferencePage.java	5 Mar 2004 19:21:40 -0000	1.13
+++ src/org/eclipse/cdt/internal/ui/preferences/CPluginPreferencePage.java	31 Mar 2004 12:12:28 -0000
@@ -84,7 +84,7 @@
 	 * Initializes the default values of this page in the preference bundle.
 	 */
 	public static void initDefaults(IPreferenceStore prefs) {
-		prefs.setDefault(PreferenceConstants.PREF_LINK_TO_EDITOR, true);
+		prefs.setDefault(PreferenceConstants.PREF_LINK_TO_EDITOR, false);
 		prefs.setDefault(PreferenceConstants.PREF_SHOW_CU_CHILDREN, true);
 		prefs.setDefault(PreferenceConstants.PREF_USE_STRUCTURAL_PARSE_MODE, CCorePlugin.getDefault().useStructuralParseMode());
 		prefs.setDefault(PreferenceConstants.EDITOR_SHOW_SEGMENTS, false);

Back to the top