SelectAll() for MS word and Google doc.

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

SelectAll() for MS word and Google doc.

Postby dexter » Wed Aug 05, 2020 12:04 pm

SelectAll() for Word and Google Doc does not work.
But If I focus on some paragraph then only that paragraph is selected instead of whole page.
When selectAll() is called full page should be selected.
Calling CefBrowserHost->GetFocussedFrame()->SelectAll() .
Am i missing something? Please help me to understand this condition.
dexter
Newbie
 
Posts: 3
Joined: Mon Jul 20, 2020 5:42 am

Re: SelectAll() for MS word and Google doc.

Postby magreenblatt » Wed Aug 05, 2020 12:21 pm

SelectAll is the same as execCommand(‘selectAll’) from JavaScript. Likely the JavaScript app (Word, etc) is customizing the behavior.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 97 guests