CEF3: Specifying local file path as dictionary URL

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.

CEF3: Specifying local file path as dictionary URL

Postby tashimaya » Fri Oct 10, 2014 8:09 am

Hi

I have added spell checking to CEF3 according to https://code.google.com/p/chromiumembedded/issues/detail?id=137

I am currently setting dictionary_url to http://cache.pack.google.com/edgedl/chrome/dict/ but I would like to use a local dictionary file instead.

Is it possible?

Cheers
tashimaya
Techie
 
Posts: 36
Joined: Fri Oct 10, 2014 7:18 am

Re: CEF3: Specifying local file path as dictionary URL

Postby magreenblatt » Fri Oct 10, 2014 9:22 am

On Windows and Linux a hunspell dictionary file will be downloaded to the "<cache_path>/Dictionaries" directory as needed, or used from the <cache_path> directory if the file already exists there. The cache path value can be configured using CefSettings.cache_path.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: CEF3: Specifying local file path as dictionary URL

Postby tashimaya » Fri Oct 10, 2014 9:46 am

Thank you for your quick reply! It has worked.
tashimaya
Techie
 
Posts: 36
Joined: Fri Oct 10, 2014 7:18 am


Return to Support Forum

Who is online

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