Index: gc_core/py/lang_core/gc_engine.py ================================================================== --- gc_core/py/lang_core/gc_engine.py +++ gc_core/py/lang_core/gc_engine.py @@ -719,11 +719,11 @@ xErr.nErrorLength = nEnd - nStart xErr.nErrorType = PROOFREADING xErr.aRuleIdentifier = sRuleId # suggestions if sSugg[0:1] == "=": - sSugg = globals()[sSugg[1:]](self.lToken) + sSugg = globals()[sSugg[1:]](self.lToken, nTokenOffset) if sSugg: if bUppercase and self.lToken[iFirstToken]["sValue"][0:1].isupper(): xErr.aSuggestions = tuple(map(str.capitalize, sSugg.split("|"))) else: xErr.aSuggestions = tuple(sSugg.split("|")) @@ -760,11 +760,11 @@ dErr["sLineId"] = sLineId dErr["sRuleId"] = sRuleId dErr["sType"] = sOption if sOption else "notype" # suggestions if sSugg[0:1] == "=": - sSugg = globals()[sSugg[1:]](self.lToken) + sSugg = globals()[sSugg[1:]](self.lToken, nTokenOffset) if sSugg: if bUppercase and self.lToken[iFirstToken]["sValue"][0:1].isupper(): dErr["aSuggestions"] = list(map(str.capitalize, sSugg.split("|"))) else: dErr["aSuggestions"] = sSugg.split("|")