Returning a Range Collection of Contiguous Paragraphs of the Same Style

It was GetSimilarStyle() then it became GetContiguousParagraphs() and finally we have GetContiguousRanges() (which, by the way, made me change GetRanges() to GetFindRanges()). The big change came when I realized that I need to account for multiple blocks of contiguous paragraphs. The old design inadvertently handled only one block.

I am chomping at the bit, eagerly looking forward to translating this code into managed code. This way of developing Microsoft Office applications cannot be beat:

rasx()