Fixed Gtk3 buffer.get_text issue

This commit is contained in:
Doug Blank 2013-12-26 16:16:07 -05:00
parent c66e4b0149
commit f7a367e602

View File

@ -432,7 +432,7 @@ class GuiGramplet(object):
def get_text(self): def get_text(self):
start = self.buffer.get_start_iter() start = self.buffer.get_start_iter()
end = self.buffer.get_end_iter() end = self.buffer.get_end_iter()
return self.buffer.get_text(start, end) return self.buffer.get_text(start, end, True) # include invisible chars
def insert_text(self, text): def insert_text(self, text):
self.buffer.insert_at_cursor(text) self.buffer.insert_at_cursor(text)