mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 13:33:12 +02:00
...
This commit is contained in:
parent
66e12978ba
commit
5ac5f91cd9
1 changed files with 1 additions and 1 deletions
|
|
@ -763,7 +763,7 @@ def data(self, index, role=Qt.DisplayRole):
|
|||
if col == 0:
|
||||
return entry.char
|
||||
if col == 1:
|
||||
return {0xa:'LINE FEED', 0xd:'CARRIAGE RETURN'}.get(entry.codepoint, character_name_from_code(entry.codepoint))
|
||||
return {0xa:'LINE FEED', 0xd:'CARRIAGE RETURN', 0x9:'TAB'}.get(entry.codepoint, character_name_from_code(entry.codepoint))
|
||||
if col == 2:
|
||||
return ('U+%04X' if entry.codepoint < 0x10000 else 'U+%06X') % entry.codepoint
|
||||
if col == 3:
|
||||
|
|
|
|||
Loading…
Reference in a new issue