[pybliographer] ui: don't show hidden characters in editor
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pybliographer] ui: don't show hidden characters in editor
- Date: Fri, 30 Mar 2018 03:30:23 +0000 (UTC)
commit ec7a8aa640b6c08ff49440a8f8cbf41724f44f51
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Thu Mar 29 23:52:51 2018 -0300
ui: don't show hidden characters in editor
Pyblio/GnomeUI/Editor.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Pyblio/GnomeUI/Editor.py b/Pyblio/GnomeUI/Editor.py
index eb8dbf6..19966ca 100644
--- a/Pyblio/GnomeUI/Editor.py
+++ b/Pyblio/GnomeUI/Editor.py
@@ -183,7 +183,7 @@ class Entry (TextBase):
def update (self, entry):
if self.buff:
text = self.buff.get_text (self.buff.get_start_iter (),
- self.buff.get_end_iter ())
+ self.buff.get_end_iter (), False)
text = string.rstrip (text).encode('latin-1')
else:
text = string.rstrip \
@@ -222,7 +222,7 @@ class Text (TextBase):
def update (self, entry):
text = self.buff.get_text (self.buff.get_start_iter (),
- self.buff.get_end_iter ())
+ self.buff.get_end_iter (), False)
text = string.rstrip (text).encode ('latin-1')
if text == self.string: return 0
@@ -256,7 +256,7 @@ class AuthorGroup (BaseField):
def update (self, entry):
text = self.buff.get_text (self.buff.get_start_iter (),
- self.buff.get_end_iter ())
+ self.buff.get_end_iter (), False)
text = string.strip (text).encode('latin-1')
if text == self.string: return 0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]