On a Mac with a touchbar, if my finger slips and hits any of F2-F12, an invisible character .00 is entered. It would be ok if I could see the character and find the error. But, I can't see it as it is, ummm, invisible. (I've been copying and pasting every input to a vi buffer to look for the .00, or showing the cell contents with Shift-Control-E)
Is there any way to make .00 show up as a visible character? Or better yet, map F2-12 to something other than entering a visible character?
I've tried adding to KeyEventsTranslations.tr:
Item[KeyEvent["F3"], SelectionHelpDialog[False]]
etc
Item[KeyEvent["F12"], SelectionHelpDialog[False]]
Mathematica 12 doesn't show the touch bar in ControllerState[].
I'm completely stuck. My only solution so far is to attach an external keyboard.
This is a repost of https://mathematica.stackexchange.com/questions/197419/mac-touch-bar-and-hidden-characters?noredirect=1#comment511567_197419