Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 6bc68f1

Browse files
committed
Merge branch '#59_No_Double_Line_Down' into development
2 parents 97ca122 + 2db45c8 commit 6bc68f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UI/Components/EditorIndentation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public void IndentLine(TextDocument document, DocumentLine line)
4040
{
4141
indentation = indentation.Substring(0, indentation.Length) + Program.Indentation + "\n" + indentation.Substring(0, indentation.Length);
4242
}
43-
else
43+
else if (lastLineLastNonWhitespaceChar == '{')
4444
{
4545
indentation = Program.Indentation + "\n";
4646
}

0 commit comments

Comments
 (0)