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

Line wrapping problems in Log Messages dialog (need to replace LF with CRLF)

From: Konstantin Kolinko <knst.kolinko_at_gmail.com>
Date: Wed, 14 Dec 2011 13:23:20 +0400

Using TSVN 1.7.2 32-bit on WinXP

1. In the Log Messages dialog when I select revision which log message
spans several lines.and copy it to clipboard,
and paste it into notepad, the copied message is not correctly wrapped
into lines.

For example:
1). In Repository Browser go to http://tortoisesvn.googlecode.com/svn/trunk
2). Open Log dialog. Select r22374.
3). Copy the revision to clipboard (Ctrl+C) and paste into Notepad.

Actual result:
Revision, Author, Date and list of files are all OK on separate lines,
but the Message text is displayed on a single line, with "square box"
symbols where linewraps should be.

My understanding is that those "square box" symbols are LF characters.
Could you replace them with CRLFs when preparing the text for
Clipboard?

A workaround is to paste the text into WordPad. It handles LFs as line wraps.

2. In the same Log Messages dialog there are two problems with the
middle pane when multiple revisions are selected.

Problem 2-1. The text is not wrapped.

When single revision is selected the text is properly wrapped into lines.
When multiple revisions are selected the LFs disappear:

E.g. for TSVN trunk (Copied with Ctrl+A, Ctrl+C):
[[[
r22374
* fix number of items that were to revert/moved to the recycle bin *
adjust texts of buttons * use CStandaloneDlg as the base class to get
the dialog icon
---------------------
r22372
Pulled latest translation changes from transifex.net
---------------------
]]]

Problem 2-2.
When single revision is selected
I can go into middle pane, select the message text displayed there and
copy it to Clipboard by two ways:
1) Ctrl+A, Ctrl+C
2) Ctrl+A, open context menu, select "Copy"

When multiple revisions are selected the second way does not work:
context menu does not open.
I would like to see context menu with two items:
- Copy
- Select All

(When single revision is selected the menu has one more item, - Edit
log message )

3. Not a big problem. Just a small inconvenience:
In Windows there are two combinations for copying text:
a) Ctrl+C
b) Ctrl+Insert

In the middle pane if I want to copy selected text to Clipboard only
Ctrl+C is working.
The Ctrl+Insert always copies the entire revision.

There are other places where Ctrl+Insert is not working. E.g. in
TortoiseMerge you cannot copy selected text with Ctrl+Insert. Only
Ctrl+C is working there.

Best regards,
Konstantin Kolinko

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2893176

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-12-14 10:23:24 CET

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

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