mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-02-07 11:33:30 -05: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