mirror of
https://github.com/openharmony/miscservices_inputmethod.git
synced 2026-07-21 07:55:20 -04:00
3.1需求中,需要和ACE编辑框交互增加的新接口
Signed-off-by: zhouyongfei <zhouyongfei@huawei.com>
This commit is contained in:
@@ -252,5 +252,23 @@ using namespace MessageID;
|
||||
{
|
||||
InputMethodController::GetInstance()->OnRemoteSaDied(object);
|
||||
}
|
||||
|
||||
void InputMethodController::onCursorUpdate(CursorInfo cursorInfo)
|
||||
{
|
||||
IMSA_HILOGI("InputMethodController::onCursorUpdate");
|
||||
}
|
||||
|
||||
void InputMethodController::OnSelectionChange(std::u16string text, int start, int end)
|
||||
{
|
||||
IMSA_HILOGI("InputMethodController::OnSelectionChange");
|
||||
mTextString = text;
|
||||
mSelectStart = start;
|
||||
mSelectEnd = end;
|
||||
}
|
||||
|
||||
void InputMethodController::onConfigurationChange(Configuration info)
|
||||
{
|
||||
IMSA_HILOGI("InputMethodController::onConfigurationChange");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user