mirror of
https://github.com/denizsafak/abogen.git
synced 2026-07-18 13:40:27 +02:00
Add new lines around chapter markers
This commit is contained in:
+1
-1
@@ -577,7 +577,7 @@ class TextboxDialog(QDialog):
|
|||||||
def insert_chapter_marker(self):
|
def insert_chapter_marker(self):
|
||||||
# Insert a fixed chapter marker without prompting
|
# Insert a fixed chapter marker without prompting
|
||||||
cursor = self.text_edit.textCursor()
|
cursor = self.text_edit.textCursor()
|
||||||
cursor.insertText("<<CHAPTER_MARKER:Title>>")
|
cursor.insertText("\n<<CHAPTER_MARKER:Title>>\n")
|
||||||
self.text_edit.setTextCursor(cursor)
|
self.text_edit.setTextCursor(cursor)
|
||||||
self.update_char_count()
|
self.update_char_count()
|
||||||
self.text_edit.setFocus()
|
self.text_edit.setFocus()
|
||||||
|
|||||||
Reference in New Issue
Block a user