equal
deleted
inserted
replaced
8 * |
8 * |
9 * Copyright 2004 Geoffrey T. Dairiki <dairiki@dairiki.org> |
9 * Copyright 2004 Geoffrey T. Dairiki <dairiki@dairiki.org> |
10 * Copyright 2004-2010 The Horde Project (http://www.horde.org/) |
10 * Copyright 2004-2010 The Horde Project (http://www.horde.org/) |
11 * |
11 * |
12 * See the enclosed file COPYING for license information (LGPL). If you did |
12 * See the enclosed file COPYING for license information (LGPL). If you did |
13 * not receive this file, see http://opensource.org/licenses/lgpl-license.php. |
13 * not receive this file, see https://opensource.org/license/lgpl-2-1/. |
14 * |
14 * |
15 * @package Text_Diff |
15 * @package Text_Diff |
16 * @author Geoffrey T. Dairiki <dairiki@dairiki.org> |
16 * @author Geoffrey T. Dairiki <dairiki@dairiki.org> |
17 */ |
17 */ |
18 class Text_Diff { |
18 class Text_Diff { |
294 class Text_MappedDiff extends Text_Diff { |
294 class Text_MappedDiff extends Text_Diff { |
295 |
295 |
296 /** |
296 /** |
297 * Computes a diff between sequences of strings. |
297 * Computes a diff between sequences of strings. |
298 * |
298 * |
299 * This can be used to compute things like case-insensitve diffs, or diffs |
299 * This can be used to compute things like case-insensitive diffs, or diffs |
300 * which ignore changes in white-space. |
300 * which ignore changes in white-space. |
301 * |
301 * |
302 * @param array $from_lines An array of strings. |
302 * @param array $from_lines An array of strings. |
303 * @param array $to_lines An array of strings. |
303 * @param array $to_lines An array of strings. |
304 * @param array $mapped_from_lines This array should have the same size |
304 * @param array $mapped_from_lines This array should have the same size |