Add new lines around chapter markers

This commit is contained in:
Deniz Şafak
2025-07-11 11:00:45 +03:00
parent 05fcf00a9c
commit 33361275fe
+1 -1
View File
@@ -577,7 +577,7 @@ class TextboxDialog(QDialog):
def insert_chapter_marker(self):
# Insert a fixed chapter marker without prompting
cursor = self.text_edit.textCursor()
cursor.insertText("<<CHAPTER_MARKER:Title>>")
cursor.insertText("\n<<CHAPTER_MARKER:Title>>\n")
self.text_edit.setTextCursor(cursor)
self.update_char_count()
self.text_edit.setFocus()