Update styling
This commit is contained in:
parent
a828fb9b0b
commit
71611af1e2
|
@ -15,9 +15,14 @@ end_of_line = lf
|
||||||
[project.json]
|
[project.json]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
|
[Makefile]
|
||||||
|
indent_style = tab
|
||||||
|
|
||||||
# C# files
|
# C# files
|
||||||
[*.cs]
|
[*.cs]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
[*.sln]
|
||||||
|
indent_style = tab
|
||||||
|
|
||||||
# New line preferences
|
# New line preferences
|
||||||
csharp_new_line_before_open_brace = types:methods
|
csharp_new_line_before_open_brace = types:methods
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
namespace Ooui.Forms
|
||||||
|
{
|
||||||
|
internal class VisualElementTracker
|
||||||
|
{
|
||||||
|
private VisualElementRenderer<object> visualElementRenderer;
|
||||||
|
|
||||||
|
public VisualElementTracker(VisualElementRenderer<object> visualElementRenderer)
|
||||||
|
{
|
||||||
|
this.visualElementRenderer = visualElementRenderer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
2
Ooui.sln
2
Ooui.sln
|
@ -88,5 +88,7 @@ Global
|
||||||
$2.NewLinesForBracesInAnonymousTypes = False
|
$2.NewLinesForBracesInAnonymousTypes = False
|
||||||
$2.NewLinesForBracesInObjectCollectionArrayInitializers = False
|
$2.NewLinesForBracesInObjectCollectionArrayInitializers = False
|
||||||
$2.NewLinesForBracesInLambdaExpressionBody = False
|
$2.NewLinesForBracesInLambdaExpressionBody = False
|
||||||
|
$2.SpacingAfterMethodDeclarationName = True
|
||||||
|
$2.SpaceAfterMethodCallName = True
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|
Loading…
Reference in New Issue