Get webview cursor position

I am using WebView as rich text editor from a library, I am trying to insert string into cursor current position. in EditText I am able to know cursor current position using getSelectionStart and getSelectionEnd , but in WebView there is no such method, can anyone help me out how to know cursor current location and insert string to that location ?

链接地址: http://www.djcxy.com/p/65478.html

上一篇: 将数组填充到特定大小

下一篇: 获取webview光标位置