📄 myspellcheck.cpp
字号:
// MySpellCheck.cpp : Defines the entry point for the DLL application.
//
#include "stdafx.h"
#include "..\shared\ispellcheck.h"
#include "..\shared\spellchecker.h"
BOOL APIENTRY DllMain( HANDLE /*hModule*/,
DWORD /*ul_reason_for_call*/,
LPVOID /*lpReserved*/
)
{
return TRUE;
}
DLL_DECLSPEC ISpellChecker* CreateSpellCheckerInterface(const char* szAffPath, const char* szDicPath)
{
// some simple checks first
if (GetFileAttributes(szDicPath) == 0xffffffff)
return NULL;
CSpellChecker* pSC = new CSpellChecker(szAffPath, szDicPath);
if (!pSC->IsValid())
{
delete pSC;
pSC = NULL;
}
return pSC;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -