mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-20 10:53:16 +02:00
...
This commit is contained in:
parent
e3c0bca805
commit
beb7f0ec7f
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ def go_to_line(self, lnum, col=None):
|
|||
c.movePosition(c.NextBlock, n=lnum - 1)
|
||||
c.movePosition(c.StartOfLine)
|
||||
c.movePosition(c.EndOfLine, c.KeepAnchor)
|
||||
text = unicode(c.selectedText().rstrip('\0'))
|
||||
text = unicode(c.selectedText()).rstrip('\0')
|
||||
if col is None:
|
||||
c.movePosition(c.StartOfLine)
|
||||
lt = text.lstrip()
|
||||
|
|
|
|||
Loading…
Reference in a new issue