3.1需求中,需要和ACE编辑框交互增加的新接口

Signed-off-by: zhouyongfei <zhouyongfei@huawei.com>
This commit is contained in:
zhouyongfei
2021-12-03 10:09:26 +08:00
parent 69ab2b5f61
commit a7e12b86f9
8 changed files with 83 additions and 3 deletions
@@ -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");
}
}
}