Files
novelWriter/nw/tools/spellcheck.py
T
2019-06-11 20:53:13 +02:00

41 lines
670 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# -*- coding: utf-8 -*-
"""novelWriter Spell Check Wrapper
novelWriter Spell Check Wrapper
===================================
Wrapper class for spell checking
File History:
Created: 2019-06-11 [0.1.5]
"""
import logging
import nw
logger = logging.getLogger(__name__)
class NWSpellCheck():
theDict = None
def __init__(self):
return
def setLanguage(self, theLang, projectDict=None):
return
def checkWord(self, theWord):
return True
def suggestWords(self, theWord):
return []
def addWord(self, newWord):
return
def listDictionaries(self):
return []
# END Class NWSpellCheck