Remove alternative apostrophe from auto select logic because it is already a letter

This commit is contained in:
Veronica Berglyd Olsen committed 2023-11-29 21:55:07 +01:00
1 parent b203bcdcff
commit f59317c2b5
2 files changed
+1 -4

No files matched your search

-3
View File
@@ -349,9 +349,6 @@ class nwUnicode:
# Unicode Constants
# =================
# Lookup
APOS_TYPE = "\u0027\u2019\u02bc"
# Quotation Marks
U_QUOT = "\u0022" # Quotation mark
U_APOS = "\u0027" # Apostrophe
+1 -1
View File
@@ -2012,7 +2012,7 @@ class GuiDocEditor(QPlainTextEdit):
cPos = cursor.position()
bPos = cursor.block().position()
bLen = cursor.block().length()
apos = nwUnicode.APOS_TYPE
apos = nwUnicode.U_APOS + nwUnicode.U_RSQUO
# Scan backward
sPos = cPos