Dov Feldstern wrote:
Dov Feldstern wrote:
Abdelrazak Younes wrote:
Dov Feldstern wrote:
Using the current version (with Elazar's patch already in), try
moving the cursor in the attached document (a math inset inside a
footnote). It gets stuck again in the math inset, even after
Elazar's patch, just because the math inset is now one level deeper!
It does not get stuck here... The cursor correclty move in and out
the math inset.
Abdel.
Sorry (what's the "blush" emoticon?), you're right. The cursor does
not get stuck inside the equation...
What I meant was this: if we do apply my patch, we must also apply it in
the math; otherwise, the cursor would get stuck again (try applying my
second patch, vs. applying the one I sent yesterday --- the one from
yesterday will, *I think*, get stuck in the math).
Anyhow, back to the point:
Basically, within the framework of logical movement, it's a question of
whether we prefer the cursor to get stuck at insets, but to move
"correctly" (i.e., the way the arrows point) inside them; or we prefer
that the cursor *not* get stuck, but that means that the cursor inside
the insets will move opposite to where the arrows point.
We definitely prefer that the cursor does not get stuck. When/if we
implement the 'visual' mode, there would be no problem. In 'logical'
mode, this means that we need to be careful when we reach the beginning
of the end of an inset. Inside an inset, the cursor navigation should
exclusively depend on the current language. Math insets are special
because they always are LTR.
If we prefer the former, my patch should be applied. If the latter, it
should not.
I do prefer the former, as I've already explained, I find it more
disruptive when the cursor gets stuck than when the cursor moves in the
direction opposite to where the arrows point.
We agree on the conclusion, just not on the method to get there ;-)
So how do we decide? If you like, I can send a questionnaire to the
user's list (and to everyone I know who uses LyX in Hebrew), and we'll
see what they say. But what do we do if it's a tie?
I don't think many users will choose a cursor that will get stucked in
an inset. I propose that we investigate a tiny bit more my solution
descibred above (special case on beginning and end of an inset). If
there is no way to implement that easily, then we will go for your
solution instead. Deal?
Abdel.