git-svn-id: http://svn.sourceforge.jp/svnroot/bchan/bchanf/trunk@595
20a0b8eb-f62a-4a12-8fe1-
b598822500fb
return tadlangcodetoTC(&state->lang, str, len);
}
+EXPORT VOID texteditor_characterstate_getlangcode(texteditor_characterstate_t *state, tadlangcode *lang)
+{
+ *lang = state->lang;
+}
+
EXPORT Bool texteditor_characterstate_islang(texteditor_characterstate_t *state, TC *str, W len)
{
return tadlangcodecmpTC(str, len, &state->lang);
IMPORT W texteditor_charactorstate_input(texteditor_characterstate_t *state, tadfragment_cursor_segment *segment);
IMPORT Bool texteditor_characterstate_ishankaku(texteditor_characterstate_t *state);
IMPORT W texteditor_characterstate_getlang(texteditor_characterstate_t *state, TC *str, W len);
+IMPORT VOID texteditor_characterstate_getlangcode(texteditor_characterstate_t *state, tadlangcode *lang);
IMPORT Bool texteditor_characterstate_islang(texteditor_characterstate_t *state, TC *str, W len);
#endif