[meld/ui-next] filediff: Bump the inline limit
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld/ui-next] filediff: Bump the inline limit
- Date: Sat, 2 Mar 2019 21:22:14 +0000 (UTC)
commit 01423c81f277efb737e70654912b93207bbdbad3
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Mar 2 11:04:34 2019 +1000
filediff: Bump the inline limit
This was always a guess anyway, and it was last bumped in 2013.
meld/filediff.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index 03497db5..ec5a752d 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -1527,7 +1527,7 @@ class FileDiff(Gtk.VBox, MeldDoc):
textn = bufs[1].get_text(starts[1], ends[1], False)
# Bail on long sequences, rather than try a slow comparison
- inline_limit = 10000
+ inline_limit = 20000
if len(text1) + len(textn) > inline_limit and \
not self.force_highlight:
for i in range(2):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]