array_walk($lines, array
(&
$this, '_encode'
));
$lines[0
] =
$this->_del_prefix .
$lines[0
];
$lines[count($lines) - 1
] .=
$this->_del_suffix;
return $this->
_lines($lines, ' ', false
);
} function _changed($orig,
$final) { /* If we've already split on characters, just display. */
if ($this->_split_level == 'characters'
) { return $this->
_deleted($orig) .
$this->
_added($final);
} /* If we've already split on words, just display. */
if ($this->_split_level == 'words'
) { $prefix = '';
while ($orig[0
] !== false &&
$final[0
] !== false &&
substr($orig[0
], 0, 1
) == ' ' &&
substr($final[0
], 0, 1
) == ' '
) { $prefix .=
substr($orig[0
], 0, 1
);
$orig[0
] =
substr($orig[0
], 1
);