Re: Diiff.php

From: Date: Wed, 27 Oct 2004 14:19:40 +0000
Subject: Re: Diiff.php
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-34102@lists.php.net to get a copy of this message
Begin forwarded message:
From: "Maxime Delorme" <maxime.delorme@tiscali.fr> Date: October 27, 2004 9:02:39 AM CDT To: pmjones@ciaweb.net Subject: Diiff.php [This message has been brought to you via pear.php.net.] Hi ! On line 231 of Diff.php for ($i = 0; $i < count($this->edits); $i++) {
            $orig = &$this->edits[$i]->orig;
If I want to use it for diffing inside a line (diff of characters) I need to put "_" in front of edits. So I get for ($i = 0; $i < count($this->_edits); $i++) {
            $orig = &$this->_edits[$i]->orig;
If I don't to that every space between words disappear I just wanted to know if it could be set like this in your version Thanks
Hi, Maxime -- I'm just the proxy for Text_Diff, the real work is from Horde. Jan and Chuck, is this a reasonable request? Thanks, guys. -- Paul M. Jones Savant: the simple alternative to Smarty for PHP. http://phpsavant.com/ DB_Table: build RDBMS tables and XHTML forms in one PHP class. http://wiki.ciaweb.net/yawiki/index.php?area=DB_Table Yawiki: your collaborative online documentation system. http://yawiki.com/ Yawp: a single-file foundation for PHP applications. http://phpyawp.com/

« previous php.pear.dev (#34102) next »