Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Convert position to line and column

$
0
0
I have some data that has the byte offset into a file, which I assume is very similar to the position that the IVsTextManager can handle. I need to convert this offset to a line and column to put in an ErrorTask. Is there some builtin function to do this conversion, or do I need to write the conversion routine myself?

Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>