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

Re: Patch: No diff block in TMerge, ++

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-11-27 17:49:47 CET

Kloster Oddvar wrote:
> Hi,
> Here's a patch with various fixes in TMerge. The original
> idea was to get rid of the diff block and only keep the
> selection block. This is done, but then one thing led to
> another, and I ended up fixing a number of other things
> as well.
> Summary of changes:
> * Removed the diff block. Now there's only the selection block, which
> can be moved between diffs using F7/s-F7.
> * Correctly preserving origin of a text selection operation. Click+drag
> from lower left to upper right did not do so previously.
> * Ensured that selection greyout does not appear in line diff bar.
> * Unified a number of code fragments dealing with x adjustments due
> to tabs. Corrected a number of cases where the proper adjustments
> were not done.
> * Selection block is now always absent in all views or on the same
> lines in all views, except after Find text. Context menu did not
> observe this.
> * Introduced a goal x position for the caret, so that it returns to the
> original position after going by a shorter line.
> * Unified code for search for next/prev diff/conflict into a single
> function
> * Reduced code for Backspace/Delete by reusing RemoveSelection
> * Changed the position where the empty block is inserted in left view
> on two-file "use both, this first/last" to get matching lines to line
> up.
> * "Use whole this/other file" did not store all line statuses for undo
> * Right-clicking to get a context menu and then copying text or not
> selecting an option would generate en empty undo stack entry.
> * Keeping caret in view on single/double view switch.

Thanks a lot for your patch!
Committed in revision 11462.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Nov 27 17:50:06 2007

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.