Comments (5)
The issue chewing/windows-chewing-tsf#12 is related to high-level API changed.
from libchewing.
The following are purposed new APIs for external use:
// candidate windows
chewing_cand_open(ChewingContext *ctx);
chewing_cand_close(ChewingContext *ctx);
chewing_cand_choose_by_index(ChewingContext *ctx, int index);
chewing_cand_String_by_index(ChewingContext *ctx, int index); // Already implemented, but not yet in any official release.
chewing_cand_next_cand_list(ChewingContext *ctx); // Change to next candidate list. For example: 2 words candidate list to 1 word candidate list
// add userphrase in preedit buffer
chewing_userphrase_add_in_preedit_buf(ChewingContext *ctx, unsigned int start, unsigned int end);
chewing_commit_preedit_buf(ChewingContext *ctx);
chewing_clean_bopomofo_buf(ChewingContext *ctx);
from libchewing.
// candidate windows
int chewing_cand_is_open(ChewingContext *ctx);
int chewing_cand_open(ChewingContext *ctx);
itn chewing_cand_close(ChewingContext *ctx);
int chewing_cand_choose_by_index(ChewingContext *ctx, int index);
int chewing_cand_String_by_index(ChewingContext *ctx, int index); // Already implemented, but not yet in any official release.
// candidate list
int chewing_cand_has_next_cand_list(ChewingContext *ctx);
int chewing_cand_next_cand_list(ChewingContext *ctx);
int chewing_cand_prev_cand_list(ChewingContext *ctx);
// add userphrase in preedit buffer
int chewing_userphrase_add_from_preedit_buf(ChewingContext *ctx, unsigned int start, unsigned int end);
int chewing_commit_preedit_buf(ChewingContext *ctx);
int chewing_clean_preedit_buf(ChewingContext *ctx);
int chewing_clean_bopomofo_buf(ChewingContext *ctx);
from libchewing.
Also chewing/windows-chewing-tsf#59
from libchewing.
Also chewing/windows-chewing-tsf#62
from libchewing.
Related Issues (20)
- Add PEP 741 style configuration method
- Missing/Disappearing "g" HOT 3
- Prepare release 0.8.2
- 支援簡單模式 HOT 2
- 支援沒有音調或是只輸入部份注音的模式 HOT 1
- There are still problems when inputting 間 or 借 using Hsu
- Prepare 0.8.3 release
- chewing_set_phraseChoiceRearward and chewing_set_autoLearn resets EditorOptions to default
- libchewing 0.8.3 cmake build failure HOT 2
- Prepare 0.8.4 release
- Rust 版程式針對 KB_DVORAK_HSU 的處理行為不符預期 HOT 1
- Allow using space as next page key even if "space as selection" option is not enabled
- Add new API chewing_version() to return runtime library version:
- Resilient to missing data files
- 怎麼 z*i 難打? HOT 10
- chewing-tools should also be able to dump chewing settings HOT 1
- 關閉時全切回英文 HOT 1
- 如谷歌,打 one letter abbreviations HOT 1
- First letter flies to front of line in pinyin HOT 9
- Prepare release v0.8.5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libchewing.