private static bool IsDialog(TextSplitResult textSplitResult)
        {
            var line1 = textSplitResult.Lines[0].TrimEnd('"', '\'');
            var line2 = textSplitResult.Lines[1].TrimStart('"', '\'');

            return(line2.Length > 0 && line1.Length > 0 &&
                   line2.StartsWith('-') && EndLineChars.Contains(line1[line1.Length - 1]));
        }
        private static bool EndsWith(TextSplitResult textSplitResult, string chars)
        {
            var line1 = textSplitResult.Lines[0].TrimEnd('"', '\'');

            return(line1.Length > 0 && chars.Contains(line1[line1.Length - 1]));
        }