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

Single-line paragraphs in TortoiseMerge

From: Markus Kuhn <Markus.Kuhn_at_cl.cam.ac.uk>
Date: 2007-05-19 13:21:37 CEST

FEATURE PROPOSAL

I would like to propose two minor extensions to TortoiseMerge 1.4.3
aimed at making it more convenient to deal with single-line paragraphs,
i.e. text files in which line-feed is only used to terminate entire
paragraphs, which is common practice in HTML files. TortoiseMerge (like
diff) works brilliantly on source code, where there are rarely more than
80 characters between two line-feeds, but it is still less than ideal
for working with unwrapped text files were there can be hundreds of
words between two line-feeds.

I hope that two fairly minor extensions could change that:

FEATURE 1: Word wrap long lines in displayed diffs

Add under either "View" or "View|Settings" in TortoiseMerge an option called

  "Word wrap long lines"

that does the same what the "View|Options|Text|Word Wrap|Wrap to Window"
setting does in WordPad: A displayed line that is longer than the window
width is wrapped onto subsequent lines at word boundaries, such that
there is usually no need to horizontally scroll the text window (unless
there is a super-long word).

Reason: Without automatic word wrapping, diffs of files with single-line
paragraphs (which is what e.g. most HTML GUI editors output) are *very*
difficult and tedious to read.

FEATURE 2: Mark only in-line changes in displayed diffs

Add under either "View" or "View|Settings" in TortoiseMerge an option
called

  "Mark only in-line changes"

which -- when selected -- causes the coloring and strikeout of entire
added and removed lines (often paragraphs) to disappear when an inline
change has already been marked in that line (paragraph).

Reason: Diffs of files with single-line paragraphs (which is what e.g.
most HTML GUI editors output) currently mark an entire paragraph, even
if I have just inserted a single comma somewhere. The diff display of
such files would be much more readable if there were an easy option to
restrict the colour marking only to the inline changes, and not apply it
always to entire lines (paragraphs).

Thanks for your wonderful software, I'm now using to help Windows users
access a Subversion-based web content management system (hence the
interest in dealing with paragraph-long text lines!).

Markus
(not a list member, please cc any replies)

-- 
Markus Kuhn, Computer Laboratory, University of Cambridge
http://www.cl.cam.ac.uk/~mgk25/ || CB3 0FD, Great Britain
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sat May 19 14:07:28 2007

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.