Remove alternative apostrophe from auto select logic because it is already a letter
This commit is contained in:
@@ -349,9 +349,6 @@ class nwUnicode:
|
|||||||
# Unicode Constants
|
# Unicode Constants
|
||||||
# =================
|
# =================
|
||||||
|
|
||||||
# Lookup
|
|
||||||
APOS_TYPE = "\u0027\u2019\u02bc"
|
|
||||||
|
|
||||||
# Quotation Marks
|
# Quotation Marks
|
||||||
U_QUOT = "\u0022" # Quotation mark
|
U_QUOT = "\u0022" # Quotation mark
|
||||||
U_APOS = "\u0027" # Apostrophe
|
U_APOS = "\u0027" # Apostrophe
|
||||||
|
|||||||
@@ -2012,7 +2012,7 @@ class GuiDocEditor(QPlainTextEdit):
|
|||||||
cPos = cursor.position()
|
cPos = cursor.position()
|
||||||
bPos = cursor.block().position()
|
bPos = cursor.block().position()
|
||||||
bLen = cursor.block().length()
|
bLen = cursor.block().length()
|
||||||
apos = nwUnicode.APOS_TYPE
|
apos = nwUnicode.U_APOS + nwUnicode.U_RSQUO
|
||||||
|
|
||||||
# Scan backward
|
# Scan backward
|
||||||
sPos = cPos
|
sPos = cPos
|
||||||
|
|||||||
Reference in New Issue
Block a user