On Mon, Nov 30, 2020 at 5:46 PM Paul A. Rubin <parubi...@gmail.com> wrote:
> On 11/30/20 5:13 PM, Scott Kostyshak wrote: > > On Mon, Nov 30, 2020 at 04:11:41PM -0500, Maria Gouskova wrote: > > Hi LyX users, > > I'm probably missing something obvious in Preferences, but I couldn't > figure out how to turn off tab autocompletion for tables. I don't mind it > in math mode, so it's checked, but I pretty much never ever want that > behavior in a table. When I hit the Tab key in a table, I want to advance > to the next cell, and not to see a drop-down menu of random words that > start with the same string I just typed. > > so, how do I make Tab always advance to the next cell in a table? > > I have similar preferences to you. We just had a similar discussion on > lyx-devel: > > > https://www.mail-archive.com/search?l=mid&q=20201120032750.3austjolf7ornvpg%40tallinn > > You mention that you "don't mind it in math mode". If you also don't > mind *not* having it in math, then the solution is simple: > > rebind <Tab>. The default binding is the following: > > "command-alternatives > completion-accept;cell-forward;tab-insert;outline-in;depth-increment" > > Just remove the "completion-accept" part in your rebinding. > > If you do want to keep autocompletion for math, then things are more > complicated. I have a simple patch that does this, but you would have to > compile LyX with the patch. If you by chance use Ubuntu, I can compile a > .deb for you, but I can't compile for other platforms. > > Scott > > > Scott: Perhaps you can alleviate my confusion here. 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. 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. > > This is on Linux Mint 20, so behavior should be the same as on Ubuntu > Focal. > > Paul > Paul, I also have cua on Linux Mint. The rest of my LyX is minimally customized, so whatever is on by default is what I usually have. One good way to set this off is to have words in the text around the table that start with the same substring. Try this for a minimal example: "notion, notation, noble, nonsectarian, nondeterministic" then in table: enter "no" in a cell, and hit Tab. (If you hit "yes", it should move you to the next tab, which iis what we want.") After "no", though, I see "nominal" in my minimal example, as well as some of the words from the list I entered above. > > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users >
-- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users