spell.h

来自「语法检查程序」· C头文件 代码 · 共 29 行

H
29
字号
/***************************************************************************/
/* 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   */
/***************************************************************************/

#ifndef SPELL_H
#define SPELL_H

#ifdef __cplusplus
extern "C" {
#endif

int spell_init(const char* main_dict, const char* user_dict);
void spell_done();

int spell_check(const char* word);
char** spell_suggest(const char* word);

int spell_learn(const char* word);
int spell_ignore(const char* word); // just until calling spell_done()

#ifdef __cplusplus
}
#endif

#endif // SPELL_H

⌨️ 快捷键说明

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