Hello!  LyX is a fantastic program---I've been using it for about five years
now.  For the last couple years, I've been using Lyx 1.3.4 with a few
modifications.  Since the beta3 of Lyx 1.5.0 just came out, I thought I'd
give it a spin.  Overall, it's great!  However, there's a few things about
how some of the keys operate in math made that I find confusing.

Bug: When a math inset is at the end of the line, and the cursor is after
and outside the math inset, hitting the back arrow key goes before the math
inset instead of inside it.

Feature request #1:
I'd like enter to act like space when in math mode.  I recall discussions
about this many years ago, when the decision came down decisively for
space.  For the last several years, I've been using LyX 1.3.4 recompiled so
that enter acts like space.  The only difference is that in a text box
inside of math mode, I want enter to end the text box, while space should
put in a space.
(On a side note, why does hitting enter in a text box in LyX 1.5.0 shoot the
cursor outside of the text box, but in front?)
I don't think there would be any harm in adding this functionality, since
enter essentially doesn't do anything currently.  However, it would be
simple to configure this if separate LFUNs could be specificed for keys
depending on whether one is currently in math mode or not.

Feature request #2:
While currently in math mode, pressing math mode again (ctl+m, or whatever)
should exit math mode and position the cursor outside after the math inset.
I think of pressing math mode again as typing another $ in LaTeX: it ends
the math mode.  In TeXmacs, this is the way pressing $ (the math mode
command key) again works, and I vaguely seem to recall this is the way it
works in Scientific Workplace with ctl+m or insert.  To get a text box, one
can just bind ctl+t to LFUN_FONT_DEFAULT.
Since this is a drastic change from the way that LyX currently operates, it
would clearly need to be user configurable.  However, I'm not sure what the
best way to do that is.

Thanks for considering these changes!  It would be great if these
configurable options could be included in LyX---I really don't want to be
using my own personally-compiled version of LyX again for the next 3 years!

Best wishes,
Stephen Hartke
lastname at gmail dot com

Reply via email to