/// <summary>複数行の文字列を行単位で比較します</summary> /// <param name="textA">元テキスト</param> /// <param name="textB">変更テキスト</param> /// <param name="option">オプション指定</param> /// <returns>比較結果</returns> public static DiffResult[] Diff(string textA, string textB, DiffOption option) { if (string.IsNullOrEmpty(textA) || string.IsNullOrEmpty(textB)) return StringNullOrEmpty(textA, textB); FastDiff diff = new FastDiff(); return diff.DiffCore(textA, textB, option); }