Closed (fixed)
Project:
GeSHi Filter for syntax highlighting
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2007 at 16:50 UTC
Updated:
13 Jan 2008 at 21:32 UTC
when generating patch files in unified diff format, i find them much easier to read when they are color-coded. i have a text editor that provides this functionality and it's quite handy.
i'm proposing that we add a 'Unified diff' filter to the module, so that, for example, drupalbin.com can support color-coded patch posts.
my initial thought is simply to color added lines green, subtracted lines red, context lines black, and possibly the file/line number references at the beginning of a hunk blue.
Comments
Comment #1
robloachIt's a great idea and I'm looking forward to trying it out!
Comment #2
soxofaan commentedThis is already possible with the current GeSHi filter
enable/use the "language" 'diff' and you get want you ask ;)
happy holidays
Comment #3
robloachOh! I didn't see that before.... http://drupalbin.com/389
Comment #4
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.