Multiple diff from cvs log with highlighting

Mario Scalas mario.scalas at libero.it
Tue Sep 16 18:34:02 UTC 2003


Hi all,
	I reworked cvs log functions to do multiple diff from the same log: I'd like 
to replace the ugly text in some simple QTextEdits with the more colorful in 
parts/diff/diffwidget.{h,cpp} DiffWidget class. Until now I simply copied the 
two files in parts/cvsservice and replaced QTextEdit with DiffWidget. This is 
obviously code duplication (though quite innocue since I copied the files as 
thery are). I could link to ../parts/diff but then I would establish a 
dependency between diff and cvsservice modules. Is there any better way to to 
have syntax highlight and avoid code duplication without stricting modules 
each other?

Thanks and cu :-)
Mario


-- 
Mario Scalas <mario dot scalas at libero dot it>
Miser miser! Modo niger et ustus fortiter.
homepage: http://www.gicomsrl.it/~mario/index.html
GnuGPG public key on keyring servers as hkp://pgp.mit.edu or 
hkp://blackhole.pca.dfn.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20030916/d51ae5fa/attachment.sig>


More information about the KDevelop-devel mailing list