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

Log dialog does not apply hyperlink styles to bug IDs in messages

From: Adam D. Walling <adam.walling_at_gmail.com>
Date: Mon, 23 Jun 2014 16:32:36 -0400

The Log dialog uses a Rich Edit control, and the message EM_AUTOURLDETECT
is sent to enable automatic URL detection. This also removes any other
CFE_LINK styles in the text, which prevents bug IDs from having the
hyperlink style in the message.

By not setting EM_AUTOURLDETECT, this works properly, though URLs are not
detected.

I copied the URL detection logic from CSciEdit (as used by the commit
dialog) to have consistent link styling behavior among the two places
(except, of course, the r123456 revisions, which are only handled in the
Log as always).

Now URLs and BugIDs and r123456 links are correctly styled in the Log
messages.

A patch from /src/TortoiseProc is attached.

-- 
- Adam D. Walling
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3083787
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2014-06-24 01:36:30 CEST

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.