mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-06 14:05:21 -04:00
...
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user