mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
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:
parent
657f923856
commit
35e9b29e59
4 changed files with 527 additions and 432 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue