Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Stornelli2019-02-16 10:02:42 +0000
committerJonah Graham2019-02-17 19:08:29 +0000
commit8fe6bbb70ef87756832f407e6889412941bbd4fc (patch)
tree66b541667e321ef2e5ac25cead7231a854b28224
parent9465c8bd5016c0872927be9a796d359e5536e124 (diff)
downloadorg.eclipse.cdt-8fe6bbb70ef87756832f407e6889412941bbd4fc.tar.gz
org.eclipse.cdt-8fe6bbb70ef87756832f407e6889412941bbd4fc.tar.xz
org.eclipse.cdt-8fe6bbb70ef87756832f407e6889412941bbd4fc.zip
Bug 544516: Format edited lines as save action
Change-Id: I988eb34c433aa121ce2afb1da51984ab4fb24b09 Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/SaveActionsPreferencePage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/SaveActionsPreferencePage.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/SaveActionsPreferencePage.java
index b7cc72aeae..a3aafacd0c 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/SaveActionsPreferencePage.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/SaveActionsPreferencePage.java
@@ -95,7 +95,7 @@ public class SaveActionsPreferencePage extends AbstractPreferencePage {
fRadioFormatAllLines = addRadioButton(group, PreferencesMessages.SaveActionsPreferencePage_formatAllLines, null,
0);
fRadioFormatEditedLines = addRadioButton(group, PreferencesMessages.SaveActionsPreferencePage_formatEditedLines,
- REMOVE_TRAILING_WHITESPACE_LIMIT_TO_EDITED_LINES, 0);
+ FORMAT_SOURCE_CODE_LIMIT_TO_EDITED_LINES, 0);
createDependency(checkboxFormat, FORMAT_SOURCE_CODE, fRadioFormatAllLines);
createDependency(checkboxFormat, FORMAT_SOURCE_CODE, fRadioFormatEditedLines);

Back to the top