|
librime 1.2
Rime Input Method Engine, the core library
|
#include <composition.h>


Public Member Functions | |
| Composition ()=default | |
| bool | HasFinishedComposition () const |
| Preedit | GetPreedit (const string &full_input, size_t caret_pos, const string &caret) const |
| string | GetPrompt () const |
| string | GetCommitText () const |
| string | GetScriptText (bool keep_selection=true) const |
| RIME_DLL string | GetDebugText () const |
| string | GetTextBefore (size_t pos) const |
| Public Member Functions inherited from rime::Segmentation | |
| Segmentation () | |
| virtual | ~Segmentation () |
| void | Reset (const string &input) |
| void | Reset (size_t num_segments) |
| bool | AddSegment (Segment segment) |
| bool | Forward () |
| bool | Trim () |
| bool | HasFinishedSegmentation () const |
| size_t | GetCurrentStartPosition () const |
| size_t | GetCurrentEndPosition () const |
| size_t | GetCurrentSegmentLength () const |
| size_t | GetConfirmedPosition () const |
| const string & | input () const |
Additional Inherited Members | |
| Protected Attributes inherited from rime::Segmentation | |
| string | input_ |
|
default |
| string rime::Composition::GetCommitText | ( | ) | const |
| string rime::Composition::GetDebugText | ( | ) | const |
| Preedit rime::Composition::GetPreedit | ( | const string & | full_input, |
| size_t | caret_pos, | ||
| const string & | caret ) const |
| string rime::Composition::GetPrompt | ( | ) | const |
| string rime::Composition::GetScriptText | ( | bool | keep_selection = true | ) | const |
| string rime::Composition::GetTextBefore | ( | size_t | pos | ) | const |
| bool rime::Composition::HasFinishedComposition | ( | ) | const |