Copy/Paste, lang attribute and check spelling

Hello amaya team,

I found a small bug that is described in this scenario:

1- Open an English document (with lang="en" attribute)
2- Open a french document (with lang="fr" attribute)
3- Create a <p> element which contains "here is a small tet" in the
English document
4- Select the <p> element (with F2 key) then copy it (with CTRL-C)
5- Paste the <p> in the french document
6- Put your cursor at the <p> beginning and then activate the check
spelling function (F7)

The check speller will stop on "tet" word but it will still consider
that the text is in English. The expected behavior is : either the
lang="en" attribute is assigned automatically to the pasted paragraph,
or the paragraph language is automatically set to French (internally).

regards,

-- 
Stéphane GULLY
http://www.zeitoun.net

Received on Monday, 23 July 2007 23:33:32 UTC