TextDiffCtrl: Line differences now shown (thanks Coolman)

git-svn-id: svn://ultimatepp.org/upp/trunk@10553 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-12-18 08:07:46 +00:00
parent 657f923856
commit 35e9b29e59
4 changed files with 527 additions and 432 deletions

View file

@ -22,7 +22,7 @@ Vector<String> GetLineMap(Stream& stream)
while(!stream.IsEof()) {
String s = stream.GetLine();
const char *p = s, *e = s.End(), *f = e;
while(e > p && (byte)e[-1] <= ' ')
while(e > p && (byte)e[-1] != 9 && (byte)e[-1] < ' ')
e--;
if(e == p)
emp++;