Skip to content

Commit

Permalink
EditorConfig: Added missing csharp_indent_case_contents_when_block (c…
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz authored and amaitland committed Mar 21, 2019
1 parent f3d4fe8 commit 1611572
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ csharp_new_line_between_query_expression_clauses =
csharp_indent_block_contents = true
csharp_indent_braces = false
csharp_indent_case_contents = true
csharp_indent_case_contents_when_block = false
csharp_indent_switch_labels = true
csharp_indent_labels = one_less_than_current

Expand Down
12 changes: 6 additions & 6 deletions CefSharp.WinForms/ChromiumWebBrowser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -948,16 +948,16 @@ protected override bool IsInputKey(Keys keyData)
case Keys.Up:
case Keys.Down:
case Keys.Tab:
{
return true;
}
{
return true;
}
case Keys.Shift | Keys.Right:
case Keys.Shift | Keys.Left:
case Keys.Shift | Keys.Up:
case Keys.Shift | Keys.Down:
{
return true;
}
{
return true;
}
}

return base.IsInputKey(keyData);
Expand Down

0 comments on commit 1611572

Please sign in to comment.