mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
Core: LocalProcess now returns at max ~1KB in Read in Posix too
git-svn-id: svn://ultimatepp.org/upp/trunk@11102 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
cc071e4b18
commit
e612643f04
3 changed files with 6 additions and 6 deletions
|
|
@ -318,13 +318,14 @@ void TextCompareCtrl::Paint(Draw& draw)
|
|||
if(show_diff_highlight) {
|
||||
WString ln_diff = l.text_diff.ToWString();
|
||||
ln_diff = ExpandTabs(ln_diff);
|
||||
if(ln_diff.GetCount() * ln.GetCount() < 50000)
|
||||
if(ln_diff.GetCount() * ln.GetCount() < 50000) {
|
||||
if(left)
|
||||
LineDiff(true, hln, SColorPaper(),
|
||||
~ln, 0, ln.GetCount(), ~ln_diff, 0, ln_diff.GetCount(), 0);
|
||||
else
|
||||
LineDiff(false, hln, SColorPaper(),
|
||||
~ln_diff, 0, ln_diff.GetCount(), ~ln, 0, ln.GetCount(), 0);
|
||||
}
|
||||
}
|
||||
if(show_white_space) {
|
||||
for(int i = ln.GetCount(); i >= 0; --i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue