spell.c

来自「语法检查程序」· C语言 代码 · 共 48 行

C
48
字号
/***************************************************************************/
/* NOTE:                                                                   */
/* This document is copyright (c) by Oz Solomon and Yonat Sharon, and is   */
/* bound by the MIT open source license.                                   */ 
/* See License.txt or visit www.opensource.org/licenses/mit-license.html   */
/***************************************************************************/

#include "spell.h"
#include <stdlib.h>

#ifdef _DEBUG
#pragma comment(lib, "Speller/SpellySpellerd.lib")
#else
#pragma comment(lib, "Speller/SpellySpeller.lib")
#endif

/*
int spell_init(const char* main_dict, const char* user_dict) // path includes the path separator as last character
{
    return 1;
}

void spell_done()
{
}

int spell_check(const char* word)
{
    return 1;
}

char** spell_suggest(const char* word)
{
    return 0;
}

int spell_learn(const char* word)
{
    return 1;
}


int spell_ignore(const char* word) // just until calling spell_done()
{
    return 1;
}

*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?