Discussion:
How To Turn Off Auto-fill in Table Cells?
Rich Shepard
2014-10-03 15:09:05 UTC
Permalink
I have preferences set to not automatically complete text as I type.
However, in some table cells pressing the Tab key adds extraneous characters
to the single-digit I entered. Sometimes it's a date, other times a number
in exponential notation, and other times some other digits.

Where do I turn off this 'feature?' It's quite annoying.

TIA,

Rich
Jürgen Spitzmüller
2014-10-03 17:38:57 UTC
Permalink
Post by Rich Shepard
I have preferences set to not automatically complete text as I type.
However, in some table cells pressing the Tab key adds extraneous characters
to the single-digit I entered. Sometimes it's a date, other times a number
in exponential notation, and other times some other digits.
Where do I turn off this 'feature?' It's quite annoying.
Not possible, AFAIK:
http://www.lyx.org/trac/ticket/9207

Jürgen
Post by Rich Shepard
TIA,
Rich
Rich Shepard
2014-10-03 18:21:10 UTC
Permalink
Post by Jürgen Spitzmüller
http://www.lyx.org/trac/ticket/9207
Jürgen,

That's too bad. Something changed in version 2.1.x that took tab movement
away from tables. Perhaps that change can be identified and reversed.

Also, after completing text (such as column headings) I need to press the
Tab key 3 times to move to the next cell.

Both these table behaviors apparently are new. I hope someone can fix
table navigation in the next release.

Thanks,

Rich
Jürgen Spitzmüller
2014-10-04 07:58:44 UTC
Permalink
Post by Rich Shepard
Post by Jürgen Spitzmüller
http://www.lyx.org/trac/ticket/9207
Jürgen,
That's too bad.
Actually, it's possible. In Tools > Preferences > Edit > Shortcuts, you can
find the following command sequence bound to "Tab":
"command-alternatives completion-accept;cell-forward;tab-insert;depth-
increment;outline-in"

If you swap completion-accept and cell-forward, you should get the desired
behavior.
Post by Rich Shepard
Something changed in version 2.1.x that took tab movement
away from tables. Perhaps that change can be identified and reversed.
This definition is 6 years old.

Jürgen
Rich Shepard
2014-10-04 12:44:44 UTC
Permalink
Post by Jürgen Spitzmüller
Actually, it's possible. In Tools > Preferences > Edit > Shortcuts, you can
"command-alternatives completion-accept;cell-forward;tab-insert;depth-
increment;outline-in"
If you swap completion-accept and cell-forward, you should get the desired
behavior.
Jürgen,

Thank you, I'll do that.
Post by Jürgen Spitzmüller
Post by Rich Shepard
Something changed in version 2.1.x that took tab movement
away from tables. Perhaps that change can be identified and reversed.
This definition is 6 years old.
Interesting. I've not experienced this behavior before this one document.

Much appreciated,

Rich
Rich Shepard
2014-10-07 21:49:20 UTC
Permalink
Post by Jürgen Spitzmüller
Actually, it's possible. In Tools > Preferences > Edit > Shortcuts, you
"command-alternatives completion-accept;cell-forward;tab-insert;depth-
increment;outline-in"
If you swap completion-accept and cell-forward, you should get the desired
behavior.
Jürgen,

I swapped completion-accept and cell-forward, applied/saved/closed the
dialog box, shut down LyX, and reloaded it. When I press the [Tab] key in a
table the cursor moves one cell left instead of right. That behavior is
supposed to be assigned to tab-back, not tab.

Suggestions on what else to try would be most welcome.

Rich
Jürgen Spitzmüller
2014-10-08 06:28:25 UTC
Permalink
JÃŒrgen,
I swapped completion-accept and cell-forward, applied/saved/closed the
dialog box, shut down LyX, and reloaded it. When I press the [Tab] key in a
table the cursor moves one cell left instead of right. That behavior is
supposed to be assigned to tab-back, not tab.
This is strange. What happens if you put the cursor in the table cell and
manually enter "cell-forward" <return> to the minibuffer (Alt+x)?

JÃŒrgen
Suggestions on what else to try would be most welcome.
Rich
Rich Shepard
2014-10-08 13:54:33 UTC
Permalink
Post by Jürgen Spitzmüller
This is strange. What happens if you put the cursor in the table cell and
manually enter "cell-forward" <return> to the minibuffer (Alt+x)?
Jürgen,

I moves the cursor right one cell. Rather an awkward way to move the
cursor when entering data, though. :-)

Environment:
LyX 2.1.2 (2014-09-16)
Built on Sep 28 2014, 12:19:29
Configuration
Host type: i486-slackware-linux-gnu
Special build flags: build=release use-aspell use-enchant
use-hunspell
C++ Compiler: g++ (4.8.2)
C++ Compiler LyX flags:
C++ Compiler flags: -O2 -march=i486 -mtune=i686
Linker flags:
Linker user flags:
Qt 4 Frontend:
Qt 4 version: 4.8.5
Packaging: posix
LyX binary dir: /usr/bin
LyX files dir: /usr/share/lyx

Rich
Jürgen Spitzmüller
2014-10-08 14:01:05 UTC
Permalink
Post by Rich Shepard
I moves the cursor right one cell. Rather an awkward way to move the
cursor when entering data, though. :-)
Meanwhile I found and fixed the cause (a bug), Rich. See my later post how
to resolve the problem locally.

JÃŒrgen

Annaert Jan
2014-10-08 06:59:09 UTC
Permalink
It had the same effect on my computer (Mac OS, LyX 2.1.1).

Jan Annaert

-----Original Message-----
From: lyx-***@lists.lyx.org [mailto:lyx-***@lists.lyx.org] On Behalf Of Rich Shepard
Sent: dinsdag 7 oktober 2014 23:49
To: lyx-***@lists.lyx.org
Subject: Re: How To Turn Off Auto-fill in Table Cells?
Post by Jürgen Spitzmüller
Actually, it's possible. In Tools > Preferences > Edit > Shortcuts,
"command-alternatives completion-accept;cell-forward;tab-insert;depth-
increment;outline-in"
If you swap completion-accept and cell-forward, you should get the
desired behavior.
Jürgen,

I swapped completion-accept and cell-forward, applied/saved/closed the dialog box, shut down LyX, and reloaded it. When I press the [Tab] key in a table the cursor moves one cell left instead of right. That behavior is supposed to be assigned to tab-back, not tab.

Suggestions on what else to try would be most welcome.

Rich
Jürgen Spitzmüller
2014-10-08 07:13:57 UTC
Permalink
Post by Annaert Jan
It had the same effect on my computer (Mac OS, LyX 2.1.1).
OK, I tested now and can confirm. The problem is that there is another
binding of "Tab" to "cell-backward" (don't know why) in the first section
"cursor, mouse and editing functions". If you delete this binding (via the
prefs dialog), it works.

JÃŒrgen
Continue reading on narkive:
Loading...