From 16ca5d9c3cd951b4267ad241d7e2fcec4d7c2b5f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 25 Nov 2014 10:30:02 +0530 Subject: [PATCH] Edit Book: Automatically complete the closing tag in HTML/XML files when typing ' % tag.name) + editor.setTextCursor(c) + return True + if __name__ == '__main__': from calibre.gui2.tweak_book.editor.widget import launch_editor launch_editor('''\