Tinderbox Forum

Using Opt-Esc for autocomplete -- what dictates where it works?

And it doesn’t only relate to Tinderbox. It isn’t consistently available in all apps and all contexts.

For instance, in Tinderbox, it will work on a map note’s title, but it won’t work in the note’s text pane itself. I’d like it to work there – it’s handy for all the times I want to type antidisestablishmentarianism.

Anyone know the answer? Thanks in advance.

One can assign custom shortcuts to any app on macOS via system preferences (in case an app has duplicate menu names use the path to the menu item you want)

That’s up to you, it’s your mac and you’re free to make it do what you want :wink:

I’ve never come across this, but it seems it was a silent addition to make frameworks in OS 10.6+, see https://apple.stackexchange.com/a/221210. In my System Prefs the suggested setting is ‘off’ but the auto-complete you describe works in some parts of Tinderbox. It’s less to do with the map vs text as whether you are typing in a text input box such as the title ($Name) edit box in any view pane, or in the Inspector or other dialogs.

The main text space is a different thing and not a simple input box, which is likely why the behaviour is different - i.e. the ‘box’ doesn’t use the same underlying framework elements , or they’re configured differently. I’d suggest you email Eastgate, explaining your need.

As a side observation, I’d note that with a move towards a ‘soft’ escape key on some Mac keyboards, perhaps Opt+Esc may not remain a got shortcut for this functionality. I tend to use TextExpander for expansions as auto-expansions can be a bit hit-and-miss in their behaviour.

The two autocomplete shortcuts work fine on keyboards with the esc key in the touch bar. @doublem is correct – autocomplete is not working in the text area. Autocomplete works in TextEdit’s text area, in Drafts, etc. Just speculating here, but possibly in Tinderbox it is “suppressed” (not by design) because Tinderbox is monitoring text entry for quick links, which uses a popover similar to autocomplete’s popover?

1 Like

Thanks for that. I don’t own anything fancy enough to have a touch bar so couldn’t check. My new 2019 MBAir has a physical Escape key, and when at a desk I work from an external keyboard with ‘all the keys’. :grinning:

Whilst I’m sure you didn’t mean it that way, this does read a little harshly. @doublem’s observation is true, as ‘Apple’ autocomplete does work in some parts of Tinderbox but not in the text pane (i.e. $Text). I think @PaulWalters’ observation probably points to why it doesn’t work in $Text. It may be the necessary existing functionality of the Text pane means it can’t enable the Os’ autocomplete but it does seem a fair question to ask.

At the same time, you are absolutely right to make the point that users can make their own shortcuts. Something we all too often overlook until we try it for the first time. :grinning:

Thanks @mwra – will do. I think it must be a framework thing, given that I’ve noticed the behaviour also varies in other apps.

Yeah, I’m yet to go touchbar. I was wondering about that as well.

1 Like

I expect that, under the hood, autocomplete works on NSTextField’s, which are meant for small text controls, and not on NSTextView’s, which are meant for larger and more flexible text layout and editing. But I’m guessing; I’ll find out.

You’re right, didn’t want to sound harsh. And I did not read well enough what @doublem asked for, sorry for that.

1 Like

The feature works in TextEdit, but not in Mellel or Word, FWIW.

1 Like

We’re looking into extending this support in the text pane. Thanks.

All good! In the history of internet misunderstandings, it’s way down the scale!

1 Like

Great! Thanks for having a look at this.