Line status

ed10k

Member²
Line status doe't work correctly.

1. If i go to the end of line 1 and hit Enter
then line 1 is yellow(changed)(NOT CORRECT, i did't change this line) and line 2 is green(new)(correct).

2. If i go to the beginning of line 1 and hit Enter then line 1 is yellow(changed)(NOT CORRECT, this is the new line) and line 2 is green(new)(NOT CORRECT, i did't change this line).

3. If i go to the middle of line 1 and hit Enter
then line 1 is yellow(changed)(correct) and line 2 is green(new)(NOT CORRECT, i did change this line).
 
just my 2 , but

1) agree, there was no change to line 1

2) disagree, both are correct (line 1 use to have text and now it doesn't - it was changed, and there is a new line 2 - it just contains the text that use to be on line 1 is all)

3) agree with line 1, but line 2 is new (this is a new line 2, same scenario as above
 
2) disagree, both are correct (line 1 use to have text and now it doesn't - it was changed, and there is a new line 2 - it just contains the text that use to be on line 1 is all)
If you think so then all lines n+1...eof on every hit of enter on the line n have to be marked as changed: n+1 has now the content of n.

For ClearCase, for other diff-tools and for my eye it is no matter of hitting ENTER at the end of line n or at the begin of line n+1.
 
I think that when is typed at the begin or end of a line, you would expect just a "new line" (yellow) indicator for the new, empty line.

When is typed in the middle of the line, I think the current situation is correct.

We'll look into this.
 
Back
Top