Antonio,
Thanks for your hint! I have seen the SelectionHandler class, but it is the webkit port of blackberry. I am using QtWebKit now. Is there any similar implementation in Qt port? Regards, LI Dan From: Antonio Gomes [mailto:[email protected]] Sent: Sunday, May 13, 2012 10:11 PM To: Li Dan Cc: [email protected] Subject: Re: [webkit-help] About text selection changing a ::setSelection like method: see this http://trac.webkit.org/browser/trunk/Source/WebKit/blackberry/WebKitSupport/ SelectionHandler.cpp#L446 On Wed, May 9, 2012 at 3:01 AM, Li Dan <[email protected]> wrote: Hello, I am using QtWebKit 4.8.0 to develop a web browser on the embedded device. I want to implement a function to change the text selection region like iphone/android's browser. However, the QtWebKit API can only change the selection at the end point where touch releases. How can I change the beginning point of the selection? If anybody knows how to implement this, please help me. Thanks for your reply! Regards, LI Dan -------------------------------------------------- 以上、宜しくお��いします 李 丹(LI Dan) Dept. III of Technology and Development Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China PHONE: +86+25-86630566-8211 Mail: [email protected] -------------------------------------------------- _______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help -- --Antonio Gomes
_______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
