[meld] Fix combination of ignore blank lines + text filters (closes bgo#637578)
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Fix combination of ignore blank lines + text filters (closes bgo#637578)
- Date: Wed, 22 Dec 2010 22:16:07 +0000 (UTC)
commit 32ba62c79281ef67863fe50febbd8653ef7cbe29
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Dec 19 21:58:40 2010 +1000
Fix combination of ignore blank lines + text filters (closes bgo#637578)
meld/filediff.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index b6e1c1e..602022e 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -119,8 +119,8 @@ class BufferLines(object):
line_end = line_start.copy()
if not line_end.ends_line():
line_end.forward_to_line_end()
- # TODO: should this be filtered?
- return unicode(self.buf.get_text(line_start, line_end, False), 'utf8')
+ txt = self.buf.get_text(line_start, line_end, False)
+ return unicode(self.textfilter(txt), 'utf8')
def __len__(self):
return self.buf.get_line_count()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]