# Tab autocomplete behavior in tables

Scott Kostyshak skostysh at lyx.org
Mon Nov 30 23:02:18 UTC 2020

On Mon, Nov 30, 2020 at 05:45:59PM -0500, Paul A. Rubin wrote:
> On 11/30/20 5:13 PM, Scott Kostyshak wrote:

> Scott: Perhaps you can alleviate my confusion here.

Thanks for joining the conversation, Paul. It seems we have a mystery.

> I use the CUA bind file
> (with a couple of tweaks) and have the same binding for Tab that you listed.
> In the preferences dialog, tab completion is on for math mode and off for
> text mode.

Just to be clear, I think you mean *automatic* completion is on for
math mode and off for text mode. It took me a while to understand the
distinction.

> In a math inset, if I type something like \right and start
> playing with the tab key, it does various completion tasks. If I'm not part
> way into a LaTeX command (but, say, in an align* environment), tabbing moves
> from cell to cell.
>
> In a text table, Tab moves from cell to cell, period. I do *not* under any
> circumstances get prompted to do word completion. (If it matters, I do have
> continuous spell checking on, using Enchant.) So I can't reproduce the
> problem.

> While I'm not complaining, either I don't understand the problem or
> you and Maria both failed to appease some digital deity with whom I am
> apparently on good terms.

Well shoot, I was hoping it was the opposite---that some deity was doing me a favor by trying to help with completion, and all I would have to do is piss them off. Gaining their favor seems much more challenging.

> This is on Linux Mint 20, so behavior should be the same as on Ubuntu Focal.

Interesting differences. If in preferences you turn automatic completion on for text, does that change anything? If not, it might just be that completion in text mode is (conveniently) broken for you.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20201130/6b8c896d/attachment.asc>