- getBeginIndex 获取可编辑文本区的起始,-1表示无可编辑文本区 - getCaretIndex 获取当前的编辑位置,……
基于26个网页-相关网页
获取当前的编辑位置
Get the current editing location
以上为机器翻译结果,长、整句建议使用 人工翻译 。
调用此成员函数获取一个编辑控件中当前被选中部分(如果有)的起始和结束位置,可用参数也可用返回值。
Call this function to get the starting and ending character positions of the current selection (if any) in an edit control, using either the return value or the parameters.
youdao
应用推荐
模块上移
模块下移
不移动