spell-checking

HTML spellcheck in contenteditable div not working after span

拜拜、爱过 提交于 2019-11-29 14:39:17
In my contenteditable div, I have the spellcheck attribute set to true . The "red squiggles" work before (and in) any span that's present, but not after. In the following HTML: <div contenteditable="true" id="input" class="input" spellcheck="true"> misssspellelellled <span class="test-span"> imaspan! </span> alsomisspelleelled </div> The first word ( misssspellelellled ) and the text in the span ( imaspan! ) show up as misspelled, but the word after the span ( alsomisspelleelled ) does not. See the following screenshot: Any ideas as to how to fix this? This bug may be specific to Chrome. A

How do I enable spell checking within an NSTextField on Mac OS X?

假装没事ソ 提交于 2019-11-29 13:30:04
问题 I have an NSTextField that I would like to enable "as-you-type" spell checking. When I load my application I can do this from the Menu Bar > Edit > Spelling and Grammar > Check Spelling While Typing. I would like this option to be enabled by default. Within IB I can enable this for a NSTextView but I would like to use NSTextField for this part of the UI. Thank you. Update: Does anyone know if it is possible to programatically run the Menu Bar > Edit > Spelling and Grammar > Check Spelling

WPF spell check languages

六眼飞鱼酱① 提交于 2019-11-29 11:30:37
I'm trying to enable spell checking on a RichTextBox in a small WPF application. Most of the documents for the application are in danish. I would prefer to use natively WPF spell checking like <RichTextBox Name="rtb" SpellCheck.IsEnabled="True" xml:lang="da"></RichTextBox> I've googled most of the web (or so it seems) - and I can only find old posts from 2009/2010 saying only english, german, french and spanish are supported. My thought was more languages ought to be supported by now - but can find no information on this. Can anyone confirm that still only those four languages are supported -

iPhone Programming: Deactivate spell check in UITextView

拟墨画扇 提交于 2019-11-29 06:38:31
UITextAutocorrectionTypeNo didn't work for me. I'm working on a crossword app for the iPhone. The questions are in UITextViews and I use UITextFields for the User-Input of each letter. By touching a question(UITextView), the TextField for the first answer char becomesFirstResponder. It all works fine but the UITextViews are still spell checking and mark the wrong words in the question, even if I set them UITextAutocorrectionTypeNo . //init of my Riddle-Class ... for (int i = 0; i < theQuestionSet.questionCount; i++) { Question *myQuestion = [theQuestionSet.questionArray objectAtIndex:i]; int

spellcheck=false on contentEditable elements

落花浮王杯 提交于 2019-11-29 05:32:54
For normal input elements you can turn off the spell checking by using a HTML attribute (at least under FF). The same spellcheck="false" does not seem to work on a contentEditable element. Is there another solution for contentEditable elements? I'm not sure if this is what you're getting at, but I was having what sounds like a similar problem with removing the spellcheck underline from contentEditable elements. The problem is, when you set the spellcheck attribute to false, any words that were underlined for spelling mistakes will keep this underline until you focus on the contentEditable

Xcode spell checking

倾然丶 夕夏残阳落幕 提交于 2019-11-29 05:25:40
Just wondering if there is a way to enable spell checking in Xcode. Maybe an add-on or something... You turn on spelling from the Edit menu (right at the bottom). Edit: For code files, there's always the compiler, although that won't check comments, and won't stop you from spelling things wrong; it'll only stop you from spelling things inconsistently. Reedit: In the 4 years since this was posted, the spell checker has moved a little: It is now under Edit > Format > Spelling and Grammar. Format is near, but not at the bottom. Ramis In this post is your answer. In xCode 4.5 you need to choose:

Javascript based spell-checkers for web applications

妖精的绣舞 提交于 2019-11-29 04:33:22
I have just received a requirement to implement spell checking on a web application that we are creating. I know all about FF, Chrome, IESpell, etc. but this one is the client's request. Given that the only way to implement something like this (real time) is with JavaScript libraries, I want to know has anyone tried any of the open source ones? Were they any good? In general, what types of good/bad things can be said about this approach? I guess going into this, I am against it as it is just more work for the end users's machine to do for little benefit. I guess what I mean by that is that it

iPhone objective-c: detecting a 'real' word

左心房为你撑大大i 提交于 2019-11-29 04:14:42
问题 I need a (quick and dirty) solution to basically detect if a certain NSString is a 'real' word, that is, if it's in the dictionary. So basically, a very simplistic spell checker. Does anyone know of any way to do this? Basically I either need a file containing all words in the English dictionary (which I've searched for, but to no avail), or a way to interface with the iPhones spell checking service. Of course I would like to interface with the iPhones spell check service in a similar way to

Spell Checking in C# Using Word Interop

我的未来我决定 提交于 2019-11-29 02:34:56
I am writing a spell check application in C# using word.dll (the Word Interop API). I want to check which spellings are incorrect and accordingly get suggestions for the incorrect words. I got a sample code from the net and I cannot understand the parameters for the following command: Microsoft.Office.Interop.Word._Application.GetSpellingSuggestions (string, ref object, ref object, ref object, ref object, ref object, ref object, ref object, ref object, ref object, ref object, ref object, ref object, ref object) I would just like to know what do all the ref object s imply? I want to know their

emacs on mac os x, how to get spell check to work

天涯浪子 提交于 2019-11-29 02:16:50
问题 I'm moving from Windows to Mac, and I've spent the whole night trying to get emacs to work. I've installed GNU emacs and simply copied over my Windows .emacs file, which seems to work ok, except for spell check. I installed cocoAspell and followed this setup instruction to add the path and change ispell to aspell, but when I run spell check, I got Error: The file "/use/local/lib/aspell-0.60/english" can not be opened for reading. and FlySpell does not work either. It seems like it's looking