Hi,
I really like your project but I'm having problem trying to run it on my linux machine. The installation went well with no erro but when I try to run:
./diff2HtmlCompare.py file1 file2
I got this:
./diff2HtmlCompare.py: line 30: from: command not found
./diff2HtmlCompare.py: line 31: from: command not found
./diff2HtmlCompare.py: line 32: from: command not found
./diff2HtmlCompare.py: line 33: from: command not found
./diff2HtmlCompare.py: line 36: PYGMENTS_STYLES: command not found
./diff2HtmlCompare.py: line 60: syntax error near unexpected token (' ./diff2HtmlCompare.py: line 60: '
The pygments are ok:
[mex@hope diff2HtmlCompare-master]$ pip install pygments
Requirement already satisfied: pygments in /usr/lib64/python2.7/site-packages (2.1.3)
I was trying to use your script but the instructions on use are lacking and seem to have not been updated. I am also finding it hard to locate your latest published script that has the corrections based on your updates/comments. Can you please let me know if you have abandoned this work or point me to where the latest release is located?
Just some questions about the future and possible features. There are some features which jump into my mind, immediately, after having played with your tool:
text wrap in HTML output
when a line of text is longer than the available line space, there should be an option to tell the HTML output to wrap the lines so that the frequent usage of the shift bar can be omitted.
highlight of change details
currently, there is a change highlight for THE ENTIRE LINE, so the user has to look for the detailled change within the line and looses a lot of time doing it. The result screen looks as @aramay showed at the end of issue #5 . See this project for an illustration: https://github.com/yebrahim/pydiff .
alternative outputs
currently, there is only an output to HTML in a two-document way. on the left the original text and on the right the changed text. Other output formats like a MARKDOWN-file or PLAIN-TEXT to the console would come handy when trying to use the tool in a tool chain.
one-file output version
currently, there are TWO OUTPUTS, one on the left and one on the right of the results screen. Would it be possible to merge both (the deletions from the original file and the new content from the changed file) into ONE SINGLE output? thus, a kind of change protocol / history could easily be created which always shows the latest content combined with the last changes.