Re: [webkit-dev] How to determine the could cut status ?

2008-08-06 Thread Joe Mason
Andy wrote: Hi, all, When I select a whole page, I could copy and paste it to other place. But most of the time I select a page, I'm not allowed to cut it since the browser does not permit it. So how could I query the status to determine whether I could copy or cut ? Editor::canCut()

Re: [webkit-dev] How to determine the could cut status ?

2008-08-06 Thread Darin Adler
On Aug 5, 2008, at 7:46 PM, Andy wrote: Is there any API method I could use ? There's no platform-independent WebKit API, so this is a platform- specific question. In the Mac OS X API, the way you determine this is by checking to see if the cut: command is enabled using the