mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-02 07:13:11 +02:00
Edit book: Fix tab characters not being identified in the lower right corner. Fixes #1267980 [Edit Book: Tabs are not identified in the lower left corner](https://bugs.launchpad.net/calibre/+bug/1267980)
This commit is contained in:
parent
da1648b94d
commit
924c0a6aeb
1 changed files with 2 additions and 0 deletions
|
|
@ -191,6 +191,8 @@ def update_position(self, line=None, col=None, character=None):
|
|||
except Exception:
|
||||
name = None
|
||||
text = _('Line: {0} : {1}').format(line, col)
|
||||
if not name:
|
||||
name = {'\t':'TAB'}.get(character, None)
|
||||
if name:
|
||||
text = name + ' : ' + text
|
||||
self.la.setText(text)
|
||||
|
|
|
|||
Loading…
Reference in a new issue