Could anyone say how to get the indexes of the first visible paragraph and the last visible paragraph. If it currently possible. I am talking about indexes relative to all paragraphs in the code area. Best regards, Pavel