Hi

No View no lines I'd say :-)
The XTextRange doesn't know in how many lines it will be displayed and so can't tell you how many lines it contains.



humm, not so sure
it is an intermediate information between the XTextRange and the effective displayed text


Nevertheless, i'll save the current selection before and restore it at the end. But his will flicker for the user ...


using
    thiscomponent.lockControllers

yes, i just realized after sending the mail that i could use that :)

Thanks Stefan

Laurent

--
Laurent Godard <[EMAIL PROTECTED]> - Ing�nierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to