[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Log message editor wraps incorrectly

From: Jean-Marc van Leerdam <j.m.van.leerdam_at_gmail.com>
Date: Wed, 5 Aug 2009 22:53:31 +0200

Hi,

2009/8/5 Stefan Küng <tortoisesvn_at_gmail.com>:
> On 05.08.2009 17:24, Jean-Marc van Leerdam wrote:
>> Hi,
>>
>> Using TortoiseSVN 1.6.2, Build 16421 - 32 Bit -dev, 2009/05/22
>> 12:48:45 at the moment.
>>
>> When entering a log message with tsvn:logwidthmarker set to 80, if you
>> type new text at the beginning of a filled line, each word that
>> overflows at the end gets wrapped to a new line.
>>
>>
>> If the initial text is:
>>
>> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
>>
>> And the entered text is 'this text is inserted in front'
>>
>> Then the end result is:
>>
>> this text is inserted in front Lorem ipsum dolor sit amet, consectetur
>> adipisicing
>> elit,
>> sed
>> do
>> eiusmod
>>
>> Has this already been fixed in 1.6.3 or a nightly build?
>>
>
> Nope. And I'm not sure if this really is fixable.
> When you enter text and the line exceeds the length set by
> tsvn:logwidthmarker, the line is split by inserting a newline char.
> Now, if you enter at the beginning of a long line, a newline is inserted
> right before the last word. If you enter more text, the same happens
> with the second last word. But now of those two words are both on their
> own line, because they *both* have a newline inserted.
>
> If we would try and remove those newlines again (which we could of
> course), then we would also do that for newlines the user explicitly
> inserted him/herself. And that's not good.
>

No that would not be expected indeed.

So the editor that is being used has no notion of hard returns versus
soft returns or something like margins. Fair enough, I will get used
to it ;-)

-- 
Regards,
Jean-Marc
--
.       ___
.  @@  // \\      "De Chelonian Mobile"
. (_,\/ \_/ \     TortoiseSVN
.   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
.   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2380630
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-08-06 01:23:54 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.