Is it possible to enable ShowAutoSpellCheck for String InputFields? Similarly to
Panel @ TextCell[
"errorrr", ShowAutoSpellCheck -> True, LanguageCategory -> "NaturalLanguage"
]
I failed to find a top level way to do this and I struggle with implementation of manual checks, or rather with making result InputField friendly:
mark = Style[#, FontVariations -> {"Underlight" -> Red},
ShowStringCharacters -> False, StripOnInput -> True] &;
check[s_String] := StringRiffle[
If[DictionaryWordQ[#], #, ToString[mark[#], StandardForm]
] & /@ StringSplit[s],
" "
];
x = check@"test errr test"
InputField[Dynamic[x], String]
Looks nice but does not work anymore. This boils down to 'how to create styled strings which can be edited in an InputField'. But I don't claim it is the only what to achieve the goal here.
Any tips?
This topic How to Check Spelling strings written inside input cells is very similar but I think it can be solved, with a some effort, because Format/Style items work on strings in input cells but not in InputField.



InputFieldfunction is extremely buggy each time I wanted to do something a bit more complicated and user-friendly.InputFieldreally needs a complete overhaul in order to be really usable. – Rolf Mertig Dec 13 '17 at 07:02"wut"is back. So kinda too buggy for me :P – Kuba Dec 13 '17 at 07:39