[QBZR][Merge] Add unidiff format to diff dialog

Marius Kruger amanic at gmail.com
Tue Oct 16 06:45:45 BST 2007


your latest screenshot looks very nice!

On 10/15/07, Goffredo Baroncelli <kreijack at tiscalinet.it> wrote:
>
> Now the highlight style is coded as HTML style, so it is easier to change
> (see
> function html_unidiff()):
> Every unidiff source line is translated as
>
>         <div style="blablabla">unidiff_line </div>
>
> Where "blablabla" is the style of the line, on the basis of the following
> sequence:
>
>             '---': 'background-color:#c5e3f7; color:black',
>             '+++': 'background-color:#c5e3f7; color:black',
>             '-':   'background-color:#FFDDDD; color:black',
>             '+':   'background-color:#DDFFDD; color:black',
>             '@':   'background-color:#c5e3f7; color:black',
>             '=':   'background-color:#c5e3f7; color:black',
>             defaultstyle = 'background-color:#ffffff; color=black',
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20071016/7fc56c63/attachment-0001.htm 


More information about the bazaar mailing list