[Lazarus] Help extending a python script

Marc Weustink marc at dommelstein.net
Sat May 30 18:44:43 CEST 2009


Vincent Snijders wrote:
> JoshyFun schreef:
>> Hello Lazarus,
>>
>> Wednesday, May 27, 2009, 10:04:28 AM, you wrote:
>>
>> VS> I wondered if there are some python users on this list that can 
>> help us to fix issue
>> VS> 13838: http://bugs.freepascal.org/view.php?id=13838
>> VS> Basically the svn2feed.py script from
>> VS> 
>> http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/svn2feed.py 
>> needs to be
>> VS> extended, so that is limits the length of a line in the log 
>> messageand wraps the
>> VS> rest to next line(s).
>>
>> One trick could be to change the CSS associated to change the "pre"
>> tag behavior using this style:
>>
>> <style type="text/css">
>> pre {
>> white-space: pre-wrap; /* css-3 */
>> white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
>> white-space: -pre-wrap; /* Opera 4-6 */
>> white-space: -o-pre-wrap; /* Opera 7 */
>> word-wrap: break-word; /* Internet Explorer 5.5+ */
>> }
>> </style>
>>
> 
> Graeme suggested something similar.
> 
> Paul do you know if this is possible?

Is this already checked ?

Marc





More information about the Lazarus mailing list