Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorAnton Leherbauer2008-02-06 09:11:27 +0000
committerAnton Leherbauer2008-02-06 09:11:27 +0000
commitf27ad8dfdf7d8dc32a4cf45d1c32c7f0c2a7b851 (patch)
tree02ab960dd6b45841f47ad4f797ccca6547fe3471 /build
parent468b4a408282f6479ff9c31bd80937b921f4e9dc (diff)
downloadorg.eclipse.cdt-f27ad8dfdf7d8dc32a4cf45d1c32c7f0c2a7b851.tar.gz
org.eclipse.cdt-f27ad8dfdf7d8dc32a4cf45d1c32c7f0c2a7b851.tar.xz
org.eclipse.cdt-f27ad8dfdf7d8dc32a4cf45d1c32c7f0c2a7b851.zip
Fix for 186106: The Makefile Editor inserts spaces instead of a tab character
Diffstat (limited to 'build')
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditor.java13
1 files changed, 11 insertions, 2 deletions
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditor.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditor.java
index e5b48e631c4..8b88bfda1b4 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditor.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditor.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2007 QNX Software Systems and others.
+ * Copyright (c) 2000, 2008 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -7,7 +7,7 @@
*
* Contributors:
* QNX Software Systems - Initial API and implementation
- * Anton Leherbauer, Wind River Systems, Inc.
+ * Anton Leherbauer (Wind River Systems)
*******************************************************************************/
package org.eclipse.cdt.make.internal.ui.editor;
@@ -443,4 +443,13 @@ public class MakefileEditor extends TextEditor implements ISelectionChangedListe
System.arraycopy(parentPrefPageIds, 0, prefPageIds, nIds, parentPrefPageIds.length);
return prefPageIds;
}
+
+ /*
+ * @see org.eclipse.ui.texteditor.AbstractDecoratedTextEditor#isTabsToSpacesConversionEnabled()
+ */
+ protected boolean isTabsToSpacesConversionEnabled() {
+ // always false for Makefiles
+ // see http://bugs.eclipse.org/186106
+ return false;
+ }
}

Back to the top