Martin Vermeer wrote:

Attached. Hopefully more luck this time.
This is much better!
I have tested with text, footnote, marginal note, branch, ERT, float, table and minipage.
All of them uses correct language now, there are no wrong blue lines or L-
cursors.

There is still the smaller issue of changing language on a big selection.
The language change will propagate into minipages and branches found in the selection, as I expect. The language inside floats, table cells, footnotes and margin notes
is not updated though, so I have to change those one by one.

It may make sense not to update the font inside a footnote in a selection, seeing how footnotes are typeset out of the main text with their own formatting rules. (Footnote in a heading don't get a big font either.) But language is different.

I wouldn't want to hold up 1.4.0 for this, it is only an ease of use thing.
But I hope it can be fixed later.

A very minor correctness issue:
* mark a word from left to right.
* set a foreign language - get the L-cursor and blue underline.
* reset the language. Notice that the blue line goes but the L-cursor stays.

Moving the cursor in any way will immediately get rid of the L shape.
Typing anything without moving will wipe out the selection (as expected) - and the
typed text will be in the foreign language selected earlier.  It ought to be
in the document language.

The problem is that the cursor hang on to its "old" language, it doesn't change just because the language was changed under it. Ideally, cursor language should
be re-evaluated after applying a language change.  But again, nothing to
hold up 1.4.0 for!

Helge Hafting




Helge Hafting

Reply via email to