Project

General

Profile

Actions

Defect #5199

closed

diff code coloring using coderay

Added by Patrick Okui over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Time tracking
Target version:
Start date:
2010-03-28
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

This seems not to work when I do pre and code style=diff. CodeRay however can highlight diffs.

As an example:

--- 2010-03-28.gp_invprint    2010-03-28 03:21:46.000000000 +0300
+++ gp_invprint    2010-03-28 03:23:08.000000000 +0300
@@ -535,7 +535,9 @@
     $p->text({align=> 'centre'}, 300, 120, "TAX INVOICE");

     $p->setfont("Arial", "8");
-    $p->text({align=> 'right'}, 580, 120, "TIN:nnnn VAT: mmm");
+    # old style tin. changed due to request.
+    #$p->text({align=> 'right'}, 580, 120, "TIN:nnnn VAT: mmm");
+    $p->text({align=> 'right'}, 580, 120, "e-TIN xxx VAT: rrr");

     $p->setfont($font{"name"}, 10);
     $p->text({align=> 'right'}, 100, 190, "Name: ");
Actions

Also available in: Atom PDF