Re: [viewvc-users] Automatic EOL when viewing a file
"C. Michael Pilato" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
Bogdan Cristea wrote: > Among other things, I use svn to store versions of my LaTeX > documents. However, Kile does not add automatically CR,LF at the line end, but > rather displays that line in a format suitable for current window width. This > results in very long lines when opening that file with viewvc. Is there a way > to specify that the lines need to have only a specific length ? There is no mechanism for enforcing a particular maximum line length in ViewVC. The only workaround that comes to mind would be to tweak your ViewVC templates and stylesheets so that they don't use <pre> tags and they *do* specify "white-space: pre-wrap" (instead of "white-space: pre") for the styles related to tags that surround your file contents. I've not tried this myself, though -- in fact, I only just learned of the "pre-wrap" value from http://www.w3schools.com/CSS/pr_text_white-space.asp. -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Distributed Development On Demand ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2399319 To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkq7jEoACgkQokEGqRcG/W5bJQCgi+qnIwUWUkih3ese/A72BBsE z4UAoMlq9YtxgJWSnMYPPFjM/GQsDGli =Ip0v -----END PGP SIGNATURE-----