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

Re: tortoisemerge doesn't show last empty line

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 09 Mar 2009 18:31:22 +0100

Paul van der Hulst wrote:
> Hi,
>
> I think tortoisemerge (1.5.9 and earlier) doesn't show the last empty line of text files.
>
> Consider a text file which' last character is a return, let's say on line 100.
> Line 101 is then an empty line, but it should be possible to place the caret there and the line should be numbered 101.
> Tortoisemerge doesn't show a line number 101 and neither can the caret be placed there.
> When 'show whitespaces' is activated, a return on line 100 is shown, but the following empty line is missing.

TortoiseMerge is not a text editor, so to add a new line you have to
press enter first to create a new line.

Lines in TortoiseMerge are treated as text with a line ending (CR/LF).
If there is no text and no line ending, then the line does not really
exist: text editors can show the cursor there because of the CR/LF after
the previous line, but that line doesn't really exist.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1297800
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-03-09 18:31:40 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.