microsoft / VSExtensibility

A repo for upcoming changes to extensibility in Visual Studio, the new extensibility model, and language server protocol.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bookmarks

LeeMSilver opened this issue · comments

Does/will changes made to ITextDocumentSnapshot / ITextViewSnapshot preserve existing Bookmarks?

@LeeMSilver, yes, changes made by extensions do preserve existing bookmarks, the same way user editing code - unless some destructive edit happens, e.g. the whole line containing bookmark is deleted.