Added wrapper classes for spell checker so new libraries can be added
This commit is contained in:
@@ -234,7 +234,7 @@ class GuiDocHighlighter(QSyntaxHighlighter):
|
||||
rxSpell = self.spellRx.globalMatch(theText.replace("_"," "), 0)
|
||||
while rxSpell.hasNext():
|
||||
rxMatch = rxSpell.next()
|
||||
if not self.theDict.check(rxMatch.captured(0)):
|
||||
if not self.theDict.checkWord(rxMatch.captured(0)):
|
||||
if rxMatch.captured(0) == rxMatch.captured(0).upper():
|
||||
continue
|
||||
xPos = rxMatch.capturedStart(0)
|
||||
|
||||
Reference in New Issue
Block a user