Alfredo Braunstein
2014-10-06 20:33:53 UTC
Inside a math inset (denoted here by [ ]):
[one(two)t|hree]
( and ) are matched parenthesis (inserted with "Alt-M (") and | is the
cursor. If I press 'End' the cursor goes as expected to the end of the
inset, inside of it:
[one(two)three|]
Now if the situation is
[one(two|)three]
then pressing 'End' goes outside of the inset:
[one(two)three]|
This is driving me crazy! It's hard enough to navigate inside complex
formulae without this funny behaviour. The thing is particularly bad on
multi-line equations, where it exits everything (jumping over a lot of
positions that would have been visited if the cursor were outside of the
parenthesis in the first place).
I've found out that the attached patch restores my sanity of mind in this
particular case. Does anyone has an idea why the request was declared
undispatched (after being handled by the inner insets?) and what are the
potential problems of eliminating that line?
A/
[one(two)t|hree]
( and ) are matched parenthesis (inserted with "Alt-M (") and | is the
cursor. If I press 'End' the cursor goes as expected to the end of the
inset, inside of it:
[one(two)three|]
Now if the situation is
[one(two|)three]
then pressing 'End' goes outside of the inset:
[one(two)three]|
This is driving me crazy! It's hard enough to navigate inside complex
formulae without this funny behaviour. The thing is particularly bad on
multi-line equations, where it exits everything (jumping over a lot of
positions that would have been visited if the cursor were outside of the
parenthesis in the first place).
I've found out that the attached patch restores my sanity of mind in this
particular case. Does anyone has an idea why the request was declared
undispatched (after being handled by the inner insets?) and what are the
potential problems of eliminating that line?
A/