spellchecker.h
来自「管理项目进度工具的原代码」· C头文件 代码 · 共 31 行
H
31 行
// SpellChecker.h: interface for the CSpellChecker class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SPELLCHECKER_H__74596014_29E0_4289_9BC7_28A7996FA37B__INCLUDED_)
#define AFX_SPELLCHECKER_H__74596014_29E0_4289_9BC7_28A7996FA37B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "..\SHARED\ISpellCheck.h"
#include "..\3rdparty\myspell\MySpell.hxx"
class CSpellChecker : public ISpellChecker, protected MySpell
{
public:
CSpellChecker(const char* szAffPath, const char* szDicPath);
virtual ~CSpellChecker();
void Release(); // releases the interface
bool CheckSpelling(const char* szWord);
bool CheckSpelling(const char* szWord, char**& pSuggestions, int& nNumSuggestions);
void FreeSuggestions(char**& pSuggestions);
bool IsValid();
};
#endif // !defined(AFX_SPELLCHECKER_H__74596014_29E0_4289_9BC7_28A7996FA37B__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?