I'm doing Visual Studio extension. It contains editor margin, which show comment for each code line. Data linked by line number. But when code have collapsed regions (functions, code blocks or regions), i'm getting incorrect line numbers. How to calculate
what lines collapsed? Or more simple way: how to expand all collapsed blocks and disable collapse buttons [-] / [+]
↧