Hi Michael,
while thiscomponent.getText.compareRegionEnds(textCursor,viewCursor)<0 viewCursor.goDown(1,false) counter = counter +1
I should have read everything before I answered.. (for my excuse, the thread was somehow broken into two parts)
No problem for me :) Thanks anyway
The problem is that i have to remember the previous selection and set it back after processing
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]
