diff --git a/nw/constants/constants.py b/nw/constants/constants.py index e810dabf..3bfc9125 100644 --- a/nw/constants/constants.py +++ b/nw/constants/constants.py @@ -234,7 +234,6 @@ class nwUnicode: U_EMDASH = "\u2014" # Long dash U_HELLIP = "\u2026" # Ellipsis U_MAPOSS = "\u02bc" # Modifier letter single apostrophe - U_MAPOSD = "\u02ee" # Modifier letter double apostrophe ## Spaces and Lines U_NBSP = "\u00a0" # Non-breaking space @@ -286,7 +285,6 @@ class nwUnicode: H_EMDASH = "—" H_HELLIP = "…" H_MAPOSS = "ʼ" - H_MAPOSD = "ˮ" ## Spaces H_NBSP = " " diff --git a/nw/constants/enum.py b/nw/constants/enum.py index 81200a63..d7c3bde2 100644 --- a/nw/constants/enum.py +++ b/nw/constants/enum.py @@ -113,7 +113,6 @@ class nwDocInsert(Enum): QUOTE_LD = 10 QUOTE_RD = 11 MODAPOS_S = 12 - MODAPOS_D = 13 # END Enum nwDocInsert diff --git a/nw/core/tohtml.py b/nw/core/tohtml.py index 6053082a..cb8cfa1a 100644 --- a/nw/core/tohtml.py +++ b/nw/core/tohtml.py @@ -55,7 +55,6 @@ class ToHtml(Tokenizer): nwUnicode.U_THNSP : nwUnicode.H_THNSP, nwUnicode.U_THNBSP : nwUnicode.H_THNBSP, nwUnicode.U_MAPOSS : nwUnicode.H_RSQUO, - nwUnicode.U_MAPOSD : nwUnicode.H_RDQUO, } self.revDict = {} self.reReplace = [] diff --git a/nw/gui/doceditor.py b/nw/gui/doceditor.py index dc25b909..ca860561 100644 --- a/nw/gui/doceditor.py +++ b/nw/gui/doceditor.py @@ -614,8 +614,6 @@ class GuiDocEditor(QTextEdit): theText = nwUnicode.U_HELLIP elif theInsert == nwDocInsert.MODAPOS_S: theText = nwUnicode.U_MAPOSS - elif theInsert == nwDocInsert.MODAPOS_D: - theText = nwUnicode.U_MAPOSD elif theInsert == nwDocInsert.QUOTE_LS: theText = self.typSQOpen elif theInsert == nwDocInsert.QUOTE_RS: diff --git a/nw/gui/mainmenu.py b/nw/gui/mainmenu.py index 949a8c77..b904ffd9 100644 --- a/nw/gui/mainmenu.py +++ b/nw/gui/mainmenu.py @@ -554,20 +554,13 @@ class GuiMainMenu(QMenuBar): # Insert > Separator self.insertMenu.addSeparator() - # Insert > Alt. Single Apostrophe - self.aInsMSApos = QAction("Alt. Single Apostrophe", self) + # Insert > Alternative Apostrophe + self.aInsMSApos = QAction("Alternative Apostrophe", self) self.aInsMSApos.setStatusTip("Insert unicode modifier letter single apostrophe") self.aInsMSApos.setShortcut("Ctrl+K, '") self.aInsMSApos.triggered.connect(lambda: self._docInsert(nwDocInsert.MODAPOS_S)) self.insertMenu.addAction(self.aInsMSApos) - # Insert > Alt. Double Apostrophe - self.aInsMDApos = QAction("Alt. Double Apostrophe", self) - self.aInsMDApos.setStatusTip("Insert unicode modifier letter double apostrophe") - self.aInsMDApos.setShortcut("Ctrl+K, \"") - self.aInsMDApos.triggered.connect(lambda: self._docInsert(nwDocInsert.MODAPOS_D)) - self.insertMenu.addAction(self.aInsMDApos) - # Insert > Separator self.insertMenu.addSeparator() diff --git a/nw/guimain.py b/nw/guimain.py index 48ea5c73..66bcc7cb 100644 --- a/nw/guimain.py +++ b/nw/guimain.py @@ -1040,7 +1040,6 @@ class GuiMain(QMainWindow): self.addAction(self.mainMenu.aInsQuoteLD) self.addAction(self.mainMenu.aInsQuoteRD) self.addAction(self.mainMenu.aInsMSApos) - self.addAction(self.mainMenu.aInsMDApos) self.addAction(self.mainMenu.aInsHardBreak) self.addAction(self.mainMenu.aInsNBSpace) self.addAction(self.mainMenu.aInsThinSpace)