mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1398198 [Edit Book: Strange backwards selection when you type XML entities](https://bugs.launchpad.net/calibre/+bug/1398198)
This commit is contained in:
parent
42600c66d2
commit
623926db15
@ -608,7 +608,7 @@ class Smarts(NullSmarts):
|
||||
if repl != ent:
|
||||
c.setPosition(c.position() + m.start(), c.KeepAnchor)
|
||||
c.insertText(repl)
|
||||
editor.setTextCursor(c)
|
||||
editor.setTextCursor(c)
|
||||
|
||||
def auto_close_tag(self, editor):
|
||||
c = editor.textCursor()
|
||||
|
Loading…
x
Reference in New Issue
Block a user