Maya Wolf
ab70e854f8
fix: contractions handling in spellchecker ( #18506 )
...
This fixes #18459 by improving the handling of contractions in the spellcheck API. Specifically, it now accepts contraction words where the spellchecker recognizes the whole word, and not, as previously, just if it recognizes all of its parts.
2019-05-30 21:19:10 -07:00
Jeremy Apthorp
12f95429bf
use unique_ptr instead of shared_ptr for SpellcheckRequest
2019-05-21 12:22:15 -07:00
Nitish Sakhawalkar
8a7de89b97
Update Spellcheck API
...
Update WebTexhCheckingCompletion as per chromium 0e8c828e02
2019-05-17 16:16:25 -07:00
Shelley Vohr
0755857a0c
chore: convert more files away from base::Bind ( #18121 )
...
* chore: convert more files away from base::Bind
* use BindOnce for JsAsker
2019-05-03 12:08:41 -07:00
Cheng Zhao
671533f7d2
fix: check the result when calling js function ( #17443 )
...
* fix: check the result when calling js function
* test: should not crash when callback returns nothing
2019-03-20 08:27:06 -07:00
deepak1556
a7e2856bf0
//components/spellcheck: Fix 64-bit truncation issues
...
https://chromium-review.googlesource.com/c/chromium/src/+/1450592
2019-03-08 15:04:32 -08:00
Jeremy Apthorp
d01db5a656
migrate to non-deprecated v8 functions
...
https://bugs.chromium.org/p/v8/issues/detail?id=8238
https://bugs.chromium.org/p/v8/issues/detail?id=7295
https://chromium-review.googlesource.com/c/v8/v8/+/1352273
2019-01-22 10:32:03 -08:00
Milan Burda
f921df7ad1
chore: move spellcheck out of chromium_src ( #15407 )
2018-10-26 10:34:57 -07:00
Nitish Sakhawalkar
a9ca152069
feat: Spellchecker Async Implementation ( #14032 )
...
* feat:Spellchecker Async Implementation
* Adhere to chromium style
* Updating dependency to use gh branch
* Update docs and electron-typescript-definitions module
* Fix lint
* Update electron typescript definitions version
* Update spec
* Address review
2018-10-18 11:11:53 -05:00
Aleksei Kuzmin
0afebdc531
The Great Blink mv for source files, part 2.
...
https://chromium-review.googlesource.com/1001153
2018-09-11 20:21:32 +02:00
Jeremy Apthorp
bdceea6aca
fix: enable spell checking, which broke in upgrade to ch66
...
Chromium commit [03563dd163][1] changed the way that the
spellcheck-enabled status was checked, defaulting to false.
Added the first (!) test for spellchecking, too.
Fixes #13608 .
[1]: 03563dd163
2018-07-11 10:27:56 -07:00
Jeremy Apthorp
f1587da480
[chromium-style] out-of-line default constructors and destructors
2018-04-19 11:12:58 -07:00
Shelley Vohr
c6f4bbd143
also format missing .cc files
2018-04-18 20:48:45 -04:00
OJ Kwon
4c51c03779
feat(performspellcheck): queue spell check request asynchronously ( #12112 )
...
* feat(spellcheckrequest): implement spellcheckrequest
* feat(performspellcheck): queue spell check request asynchronously
2018-04-09 15:18:50 +09:00
OJ Kwon
e869c27041
feat(worditerator): bump up worditerator into latest
2018-02-06 15:31:18 -08:00
Ales Pergl
7a73b1d523
Fixed crash in atom::api::SpellCheckClient
...
The class didn't save the V8 context for the spell checking JS function. When
it later tried to call the JS function and there was no active context, V8
crashed.
I also optimized the spell checking loop by introducing `SpellCheckScope` and
reusing the V8 handles throughout the whole loop.
2017-12-06 14:50:20 +01:00
Aleksei Kuzmin
7a4ca08a8d
The Blink Rename
2017-08-15 16:19:20 +03:00
Cheng Zhao
481b04358e
Fix blink API changes
2017-04-27 16:34:52 +09:00
Cheng Zhao
497f5a1199
Update files for Chrome 54 API changes
2017-01-19 09:05:59 +02:00
Cheng Zhao
5fae63a2f5
Fix compilation errors on OS X
2016-03-10 17:06:21 +09:00
Paul Betts
4503aafe64
int32 => int32_t
2016-03-10 17:06:21 +09:00
Cheng Zhao
d78efe7c22
Use Local instead of Handle
2015-05-22 19:11:22 +08:00
Cheng Zhao
e7dfd48b1c
Spell check pasted text
2014-12-19 22:13:07 -08:00
Cheng Zhao
90b2d12371
Add option to turn on/off auto correct word
2014-12-19 21:01:47 -08:00
Cheng Zhao
f6c66e7ece
Use Chrome's policy for auto correct word
2014-12-19 20:56:16 -08:00
Cheng Zhao
c6a18b1b59
Split the words before sending it to spellCheck
2014-12-19 20:42:19 -08:00
Cheng Zhao
b801a93dc5
Also expose requestCheckingOfText
2014-12-18 17:41:42 -08:00
Cheng Zhao
a61331a083
Call JavaScript to get spell check results
2014-12-18 16:44:38 -08:00
Cheng Zhao
f1fbc5c701
Add webFrame.setSpellCheckClient API
2014-12-18 13:54:01 -08:00
Cheng Zhao
896077222d
Add an empty SpellCheckClient
2014-12-18 13:43:51 -08:00