[webkit-help] About text selection changing

Li Dan lidan at cn.fujitsu.com
Tue May 15 18:05:26 PDT 2012


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:tonikitoo at gmail.com] 
Sent: Sunday, May 13, 2012 10:11 PM
To: Li Dan
Cc: webkit-help at lists.webkit.org
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 <lidan at cn.fujitsu.com> 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: lidan at cn.fujitsu.com
--------------------------------------------------



_______________________________________________
webkit-help mailing list
webkit-help at lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help




-- 
--Antonio Gomes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120516/6a9fc772/attachment.html>


More information about the webkit-help mailing list