📄 spell.h
字号:
/***************************************************************************/
/* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -