Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17123 программиста и 1835 роботов. Сейчас ищут 1548 программистов ...

Introduction to Text_Diff

Вернуться к: Text_Diff

Table of Contents

Text_Diff helps you generating difference views between two or three text files.

 @@ -1,3 +1,3 @@  This line is the same. -This line is different in 1.txt +This line is different in 2.txt  This line is the same.

Diffs are created in two steps:

  1. Computing the difference of the files

  2. Creating the output of the difference

In Text_Diff, an Engine is used to compute the difference between the files/strings. The packages contains several of them: native, shell, string and xdiff. One should use auto to let Text_Diff decide which one is the best for the system.

The second part, creating the output, is made possible by renderers. Text_Diff comes with context , inline and unified renderers.



Вернуться к: Text_Diff

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware