private string PreNormalize(string text) { int initialLength = text.Length; var tabString = "".PadLeft(4); text = new ScnSyntax.LineEnding().Replace(text, "\r\n"); text = new ScnSyntax.Tab().Replace(text, tabString); IsNormalized = text.Length != initialLength; return(text); }
private string PreNormalize(string text) { int initialLength = text.Length; var tabString = "".PadLeft(4); text = new ScnSyntax.LineEnding().Replace(text, "\r\n"); text = new ScnSyntax.Tab().Replace(text, tabString); IsNormalized = text.Length != initialLength; return text; }