This commit is contained in:
Бондарев Иван 2018-10-14 12:33:47 +02:00
parent 17b29c2770
commit 8207b5f481

View file

@ -614,6 +614,8 @@ namespace CodeFormatters
comm = trimedstr;
if (trimedstr.Length >= 2 && trimedstr[0] == '(' && trimedstr[trimedstr.Length - 1] == ')' && trimedstr.Replace("(", "").Replace(")", "").Trim() == "")
comm = "()";
else if (trimedstr.Length >= 2 && trimedstr[0] == '(' && trimedstr[trimedstr.Length - 1] == ';')
comm = trimedstr.Replace(" ", "");
if (trimedstr.StartsWith("; "))
{
comm = "; " + trimedstr.Substring(1).TrimStart(' ', '\t');