|
From: <caw...@us...> - 2007-07-24 15:28:23
|
Revision: 2829
http://svn.sourceforge.net/rubyeclipse/?rev=2829&view=rev
Author: cawilliams
Date: 2007-07-24 08:28:19 -0700 (Tue, 24 Jul 2007)
Log Message:
-----------
hook indent empty lines pref up. Add new pref for indenting "when" in case statements.
Modified Paths:
--------------
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/preferences/formatter/IndentationTabPage.java
Modified: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/preferences/formatter/IndentationTabPage.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/preferences/formatter/IndentationTabPage.java 2007-07-24 14:54:05 UTC (rev 2828)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/preferences/formatter/IndentationTabPage.java 2007-07-24 15:28:19 UTC (rev 2829)
@@ -87,7 +87,8 @@
});
final Group classGroup = createGroup(numColumns, composite, FormatterMessages.IndentationTabPage_indent_group_title);
- createCheckboxPref(classGroup, numColumns, FormatterMessages.IndentationTabPage_indent_empty_lines, DefaultCodeFormatterConstants.FORMATTER_INDENT_EMPTY_LINES, FALSE_TRUE);
+ createCheckboxPref(classGroup, numColumns, FormatterMessages.IndentationTabPage_switch_group_option_indent_statements_within_case_body, DefaultCodeFormatterConstants.FORMATTER_INDENT_CASE_BODY, FALSE_TRUE);
+ createCheckboxPref(classGroup, numColumns, FormatterMessages.IndentationTabPage_indent_empty_lines, DefaultCodeFormatterConstants.FORMATTER_INDENT_EMPTY_LINES, FALSE_TRUE);
}
public void initializePage() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|