• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/CPANInternal-159.1/Text-WordDiff-0.08/lib/Text/

Lines Matching +refs:diff +refs:changed

112     # Instantiate the diff object, along with any options.
113 my $diff = Algorithm::Diff->new(@seqs, delete $opts->{DIFF_OPTS});
121 # Run the diff.
124 while ($diff->Next) {
129 if (my @same = $diff->Same) {
135 if (my @del = $diff->Items(1)) {
138 if (my @ins = $diff->Items(2)) {
199 my $diff = word_diff 'file1.txt', 'file2.txt', { STYLE => 'HTML' };
200 my $diff = word_diff \$string1, \$string2, { STYLE => 'ANSIColor' };
201 my $diff = word_diff \*FH1, \*FH2; \%options;
202 my $diff = word_diff \&reader1, \&reader2;
203 my $diff = word_diff \@records1, \@records2;
206 my $diff = word_diff \@records1, 'file_B.txt';
213 documents or documents with very long lines. To diff source code, one is still
215 story changed from one version to the next, this module will do the job very
264 tokens. This makes sense to me, at least, as the diff is between these tokens,
265 and thus leads to a nice word-and-space-and-punctuation type diff. It's not
400 already provided, and the C<file_header()> returns a Unified diff-style
414 The method by which diff output should be, well, I<output>. Examples and their
422 If C<OUTPUT> is not defined, word_diff() will simply return the diff as a
448 This is the default formatting class. It emits a header and then the diff
455 outputs the diff content as XHTML, with deleted text in C<< <del> >> elements
468 sub file_footer { return "End of diff\n"; }
486 header for the whole diff. This is the only formatting method in the base
490 diff-style header.
494 This method is called for each diff hunk. It should output any necessary
499 This method is called for items that have not changed between the two
520 This method is called once when the whole diff has been procssed. It should
521 output any necessary content to close out the diff file.
565 A module that attempts to diff paragraphs and the words in them.