This commit is contained in:
Kovid Goyal 2013-12-22 22:24:01 +05:30
parent ecbe9963ab
commit 64a2a45068

View File

@ -185,7 +185,10 @@ class CursorPositionWidget(QWidget): # {{{
if line is None:
self.la.setText('')
else:
try:
name = unicodedata.name(character, None) if character else None
except Exception:
name = None
text = _('Line: {0} : {1}').format(line, col)
if name:
text = name + ' : ' + text