Separating this into different issues, it's getting long...
Miki Dovrat wrote:
3. If I have a Hebrew paragraph with an English word like
????? English ????? ?????
and I type continuously, the spaces are Hebrew. Now if I try to
continue the Hebrew to the right of the English word, but after the
Hebrew space, as to continue typing, I can't: If I am in English mode
and I press F12 (bound to language hebrew), the cursor jumps to the
left of the English word. If I was already in hebrew (if the cursor was
resting on a hebrew word before and then I moved it to this position
with the mouse), then it's ok.
This is correct. If you move to the right of the english through the
english, then at the end you are still considered to be in English, at
the end of the english; so switching to hebrew should move you to the
left of the english. You can do what you want by moving to the beginning
of the english, and then move back one more, that'll bring you to the
space before the english; then if you move one Left, you'll be after the
space, but still in hebrew. Typing in hebrew will then work as you want
it to.
What you say is correct, and I have found that out, but it is not
intuitive
and takes "learning" lyx's behavior.
Also, when you just land there with the mouse, you have the same
"problem".
Can you think of a sane way to solve this?
What do you want LyX to do: to say that if you've been typing in english
and then switch the language to hebrew, that it should jump back to before
the english, and continue inserting the hebrew there? 'cause I think
that's what would be necessary to do what you want in this case --- but
then just plain typing in would be a real pain: you type some hebrew, want
to insert a word in english so you switch to english, type the word, then
switch back to hebrew (you want to continue typing ---
after the english word, of course) and find yourself before the english
word!
I don't see any way out. And BTW, I'm not sure --- but I don't think that
visual mode will solve this, either...
I would like lyx to be visual, and I think it will solve this problem, since
the cursor will STAY PUT in the location it is in without jumping anywhere.
That will work when moving, but not when typing: when you type in
hebrew, and then switch to english, and then back to hebrew --- where do
you want the hebrew to continue: to the left or to the right of the
english? I want it to continue on the left: usually I type in logical
order, not first all the hebrew and then go back and insert the english...
In latex, you will have \L's and \R's all over the place, and you can clean
that up "later" - maybe when saving, maybe when leaving the row. I don't
know enough about what lyx does (I wanted to get into it but I lack the
time, maybe in the future...)
To sum up, I would like lyx, when it is inside a \L (English), to switch
automatically to English
I believe it does this...
, unless the user explicitly changes it with F12 (\language hebrew),
the cursor will NOT MOVE, and the text will be added
where it was, whether it was English or Hebrew.
Again, this doesn't make sense when typing. It means after every
insertion of an english word, you'll have to move the cursor before
continuing to type in hebrew...