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


Public Types | |
| typedef ProcessResult | CharHandler(Context *ctx, int ch) |
| using | CharHandlerPtr = ProcessResult (Editor::*)(Context* ctx, int ch) |
| Public Types inherited from rime::Class< Processor, const Ticket & > | |
| using | Initializer |
| Public Types inherited from rime::KeyBindingProcessor< Editor > | |
| enum | FallbackOptions |
| typedef bool | Handler(Context *ctx) |
| using | HandlerPtr |
Public Member Functions | |
| Editor (const Ticket &ticket, bool auto_commit) | |
| ProcessResult | ProcessKeyEvent (const KeyEvent &key_event) |
| Public Member Functions inherited from rime::Processor | |
| Processor (const Ticket &ticket) | |
| virtual | ~Processor ()=default |
| string | name_space () const |
| Public Member Functions inherited from rime::KeyBindingProcessor< Editor > | |
| KeyBindingProcessor (ActionDef *action_definitions) | |
| ProcessResult | ProcessKeyEvent (const KeyEvent &key_event, Context *ctx, int keymap_selector=0, int fallback_options=FallbackOptions::None) |
| void | LoadConfig (Config *config, const string §ion, int kemap_selector=0) |
Protected Member Functions | |
| void | LoadConfig () |
| Protected Member Functions inherited from rime::KeyBindingProcessor< Editor > | |
| Keymap & | get_keymap (int keymap_selector=0) |
| bool | Accept (const KeyEvent &key_event, Context *ctx, Keymap &keymap) |
Protected Attributes | |
| CharHandlerPtr | char_handler_ = nullptr |
| Protected Attributes inherited from rime::Processor | |
| Engine * | engine_ |
| string | name_space_ |
Additional Inherited Members | |
| Static Public Member Functions inherited from rime::Class< Processor, const Ticket & > | |
| static Component * | Require (const string &name) |
| Static Public Attributes inherited from rime::KeyBindingProcessor< Editor > | |
| static const ActionDef | kActionNoop |
| typedef ProcessResult rime::Editor::CharHandler(Context *ctx, int ch) |
| using rime::Editor::CharHandlerPtr = ProcessResult (Editor::*)(Context* ctx, int ch) |
| rime::Editor::Editor | ( | const Ticket & | ticket, |
| bool | auto_commit ) |
|
protected |
|
virtual |
Reimplemented from rime::Processor.
| ProcessResult rime::Editor::AddToInput |
| bool rime::Editor::BackToPreviousInput |
| bool rime::Editor::BackToPreviousSyllable |
| bool rime::Editor::CancelComposition |
|
protected |
| bool rime::Editor::CommitComment |
| bool rime::Editor::CommitComposition |
| bool rime::Editor::CommitRawInput |
| bool rime::Editor::CommitScriptText |
| bool rime::Editor::Confirm |
| bool rime::Editor::DeleteCandidate |
| bool rime::Editor::DeleteChar |
| ProcessResult rime::Editor::DirectCommit |
| bool rime::Editor::RevertLastEdit |
| bool rime::Editor::ToggleSelection |