4
$\begingroup$

I've noticed that at least on Mac, Mathematica automatically displays the blue spelling tooltip on misspelled words, but actually there's a much nicer, more reliable and faster tooltip when one uses the right click.

blue tooltip enter image description here

There are a lot of glitches with the blue tooltips and I'd gladly just disable them for spelling (not for syntax). How can I do it?

$\endgroup$
  • $\begingroup$ It is just a setting in the preferences of Mathematica. "Check spelling as you type". $\endgroup$ – SHuisman Sep 10 '19 at 18:14
  • 2
    $\begingroup$ @SHuisman I know about this, but this disables the nice "red wavy-underline" effect which indicates that a word needs fixing... so this is not the solution I'm looking for. $\endgroup$ – Ranza Sep 10 '19 at 18:39
5
+50
$\begingroup$

Evaluating the following once should do the trick for you:

CurrentValue[$FrontEnd, {SpellingOptions, 
   "AutoSpellCheckPopupDelay"}] = Infinity
| improve this answer | |
$\endgroup$
  • $\begingroup$ Close, but it doesn't really disable the spellchecking tooltip which is visible by the time delay it takes for the right-click menu to appear (there's a significant hiccup before it appears on incorrectly spelled words). $\endgroup$ – Ranza Sep 12 '19 at 14:06
  • $\begingroup$ @Ranza On Windows it seems to do the trick, no tooltip after evaluating the code. $\endgroup$ – Alexey Popkov Sep 12 '19 at 16:41
  • $\begingroup$ @AlexeyPopkov I think you must have a rather fast machine, on mine I notice a significant lag when right-clicking. That being said I'll accept the question if no better solution is found. $\endgroup$ – Ranza Sep 12 '19 at 16:52
  • $\begingroup$ @Ranza I checked the code at 11-old time Lenovo laptop with Windows 7 and Mathematica 12.0 installed. I do not think that the difference is due to machine's performance. $\endgroup$ – Alexey Popkov Sep 12 '19 at 18:41
  • 1
    $\begingroup$ @ihojnicki, @AlexeyPopkov This is weird indeed, I've made a gif to show you what is happening in my case (red blink indicates a right click). You might argue that this is a regular dictionary lookup, but this lag only occurs in MMA... Do you know how to investigate what is being run when I right click? Perhaps somehow inject the Trace command? $\endgroup$ – Ranza Sep 13 '19 at 14:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.