Add more insert menu entries
This commit is contained in:
+14
-2
@@ -744,10 +744,16 @@ class GuiDocEditor(QTextEdit):
|
||||
theText = nwUnicode.U_ENDASH
|
||||
elif theInsert == nwDocInsert.LONG_DASH:
|
||||
theText = nwUnicode.U_EMDASH
|
||||
elif theInsert == nwDocInsert.ELLIPSIS:
|
||||
theText = nwUnicode.U_HELLIP
|
||||
elif theInsert == nwDocInsert.FIGURE_DASH:
|
||||
theText = nwUnicode.U_FGDASH
|
||||
elif theInsert == nwDocInsert.MODAPOS_S:
|
||||
theText = nwUnicode.U_MAPOSS
|
||||
elif theInsert == nwDocInsert.ELLIPSIS:
|
||||
theText = nwUnicode.U_HELLIP
|
||||
elif theInsert == nwDocInsert.SINGLE_PRIME:
|
||||
theText = nwUnicode.U_PRIME
|
||||
elif theInsert == nwDocInsert.DOUBLE_PRIME:
|
||||
theText = nwUnicode.U_DPRIME
|
||||
elif theInsert == nwDocInsert.QUOTE_LS:
|
||||
theText = self.typSQOpen
|
||||
elif theInsert == nwDocInsert.QUOTE_RS:
|
||||
@@ -756,6 +762,12 @@ class GuiDocEditor(QTextEdit):
|
||||
theText = self.typDQOpen
|
||||
elif theInsert == nwDocInsert.QUOTE_RD:
|
||||
theText = self.typDQClose
|
||||
elif theInsert == nwDocInsert.LIST_BULLET:
|
||||
theText = nwUnicode.U_BULL
|
||||
elif theInsert == nwDocInsert.FLOWER_MARK:
|
||||
theText = nwUnicode.U_FLOWER
|
||||
elif theInsert == nwDocInsert.PER_MILLE:
|
||||
theText = nwUnicode.U_PERMIL
|
||||
else:
|
||||
return False
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user