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$
2
  • $\begingroup$ It is just a setting in the preferences of Mathematica. "Check spelling as you type". $\endgroup$
    – SHuisman
    Commented Sep 10, 2019 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
    Commented Sep 10, 2019 at 18:39

1 Answer 1

5
+50
$\begingroup$

Evaluating the following once should do the trick for you:

CurrentValue[$FrontEnd, {SpellingOptions, 
   "AutoSpellCheckPopupDelay"}] = Infinity
$\endgroup$
10
  • $\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
    Commented Sep 12, 2019 at 14:06
  • $\begingroup$ @Ranza On Windows it seems to do the trick, no tooltip after evaluating the code. $\endgroup$ Commented Sep 12, 2019 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
    Commented Sep 12, 2019 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$ Commented Sep 12, 2019 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
    Commented Sep 13, 2019 at 14:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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