Karşılaştırılması on-the-fly çalışması gerektiğini, bu nedenle bu (javascript ajax isteği yapacaktır) javascript aracılığıyla veya php ile yapılmalıdır.
Ne gerek gösteren muhtemelen ileri fark, çok iyi desteklenen kütüphanede her türlü varsa muhtemelen iyi olacak.
Bu resim> tam olarak neye ihtiyacım gösteriyor
Added #1: I found this http://ejohn.org/projects/javascript-diff-algorithm/ (example http://www.djsipe.com/js-diff/) which is ok, but doesn't support multiline? and it changes the whole word when only one character is different...
Added #2: I tested php script ( https://github.com/paulgb/simplediff/ ) but it has flaws.
Added #3: I found what i was looking for ( http://code.google.com/p/google-diff-match-patch/ )