In my VS 2015 extension, I need to add margin glyphs to number of line which is returned from a web service (Web service return only line numbers). MSDN contains following example which tracks the text in the editor and add margin glyphs accordingly, however this example represents more complex scenario and does not match my requirement, Please advise how to achieve this.
https://msdn.microsoft.com/en-us/library/ee361745%28v=vs.100%29.aspx?f=255&MSPPError=-2147217396