mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
...
This commit is contained in:
parent
e3c0bca805
commit
beb7f0ec7f
@ -227,7 +227,7 @@ class TextEdit(PlainTextEdit):
|
||||
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…
x
Reference in New Issue
Block a user