Martin Vermeer wrote:
On Wed, 2005-04-06 at 15:38, Helge Hafting wrote:
...
Pressing END inside matching parantheses no longer kills lyx, nice.It does help. Attached a new patch doing two things:
1) it tests for ncols() > 0 (I.e., establishes that this is a "grid-type" nest inset) before trying to update anything involving column numbers. This fixes your bug, Helge.
2) It adds code to allow a math font or decoration inset to go "around" selected text, in the way the delim inset does already. (Heck, this was tricky.)
Please review.
Instead, the cursor goes to the last paranthesis.
By design :-)
ok.
Given that "end" isn't meant to go to the end of the line in math,
I can't
get to the end of line with END alone, but maybe the key isn't
meant to do that in math?
Hmmm, it might be nice to enable END at the last position to exit the
parentheses. Opinions?
then I propose this:
If the END handler discover that the position won't
change at all because we are at some "endpoint" already,
do the exact equivalent of "right arrow" plus "end" once
more.
It should allow some speedy navigation in deeply nested math. I guess this is a "new feature" though. Math still SIGSEGV on \bmod downarrow.
Helge Hafting