Skip to content

Commit

Permalink
pref (not hooked up yet) to control indentation behavior for function…
Browse files Browse the repository at this point in the history
… arguments
  • Loading branch information
jjallaire committed Oct 2, 2012
1 parent da5d0fb commit 30e72f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -102,6 +102,11 @@ public PrefValue<Boolean> reindentOnPaste()
{
return bool("reindent_on_paste", true);
}

public PrefValue<Boolean> verticallyAlignArgumentIndent()
{
return bool("valign_argument_indent", true);
}

public PrefValue<Boolean> softWrapRFiles()
{
Expand Down
Expand Up @@ -40,6 +40,7 @@ public EditingPreferencesPane(UIPrefs prefs)
add(checkboxPref("Blinking cursor", prefs_.blinkingCursor()));
add(checkboxPref("Insert matching parens/quotes", prefs_.insertMatching()));
add(checkboxPref("Auto-indent code after paste", prefs_.reindentOnPaste()));
add(checkboxPref("Vertically align arguments in auto-indent", prefs_.verticallyAlignArgumentIndent()));
add(checkboxPref("Soft-wrap R source files", prefs_.softWrapRFiles()));
add(checkboxPref("Focus console after executing from source", prefs_.focusConsoleAfterExec()));
add(checkboxPref("Show syntax highlighting in console input", prefs_.syntaxColorConsole()));
Expand Down

0 comments on commit 30e72f7

Please sign in to comment.