def colored(what, *args, **kwargs):
return what
-__version__ = "8.2"
+__version__ = "8.3"
__all__ = (
"agg_octet_string",
self._state_update()
return super(TW, self).selectable()
- def get_display_text(self):
+ def _get_display_text_without_offset(self):
pp, constructed = self._get_pp()
style = "constructed" if constructed else ""
if len(pp.decode_path) == 0:
))
return (style, ent)
+ def get_display_text(self):
+ pp, _ = self._get_pp()
+ return "%s: [%d]" % (self._get_display_text_without_offset(), pp.offset)
+
def _scroll(self, what, step):
self.state[what]._invalidate()
pos = self.state[what].focus_position