brace icon indicating copy to clipboard operation
brace copied to clipboard

Is it possible to enable spellcheck with brace?

Open LeviRosol opened this issue 8 years ago • 4 comments

I seem to be having good luck using most of the other extensions, but spellcheck seems to be the problem child. Using some google-fu I see others having issues with Ace, but most of those posts appear to be old, so I'm wondering if I'm simply missing something.

I have my require setup as needed:

require('brace/ext/spellcheck')

and I've enabled it:

editor.setOption('spellcheck', true);

But I see nothing in the browser. If it helps, I'm in markdown mode, and I've tested in Chrome and FF.

To clarify, I'm looking for browser driven spell checking. Red squiggles and right clicking to see suggestions.

thx!

LeviRosol avatar Oct 20 '17 05:10 LeviRosol

curious if anyone else has gotten this to work?

LeviRosol avatar Nov 15 '17 21:11 LeviRosol

Update on this: I was able to get spellcheck to sort of work. I now have the red squiggles on misspelled words, and I can get suggestions to show up in the context menu, however, I cannot get it to actually replace the word with the selected word.

When I get a moment, I'll post more on how I got it working this far.

LeviRosol avatar Dec 16 '17 21:12 LeviRosol

Any updates? Could you share how you fixed this?

My code doesn't work:

import 'brace/ext/spellcheck'

// ...

editor.setOptions({
  spellcheck: true
})

jakub-zawislak avatar Jul 26 '18 14:07 jakub-zawislak

@LeviRosol Could you pls share how you get the red squiggles on misspelled words? I came across the same problem. Thanks~

wandonye avatar Oct 02 '18 01:10 wandonye