You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
causes all Bookmarks in the document to be deleted.
The extension does the following to minimize the effect of the deleted Bookmarks:
a) prior to the above code it saves the line-numbers of all Bookmarked lines
b) following the above code it tries to set Bookmarks on the saved line-numbers
I'm fairly sure the if the content of ITextDocumentEditor is completely replaced all existing Bookmarks in the document will also be deleted.
If by some miracle the above statement is not true, (2) above will no longer be a problem, but (1) still needs to be implemented.
How can I accomplish the above without using EditPoint2 either now or in the future?
The text was updated successfully, but these errors were encountered:
In the current extension model
Bookmark
s are accessed/created/deleted via theEditPoint2
Interface inEnvDTE880
.The new extension model has no need for
EditPoint2
due to the use ofITextDocumentEditor
.My extension uses
Bookmark
s in 2 scenarios.One of its commands iterates thru the source-files opened in
VS
and Bookmarks those have a differentnamespace
than the first file checked.Code similar to the following pseudo-code:
causes all
Bookmark
s in the document to be deleted.The extension does the following to minimize the effect of the deleted
Bookmark
s:a) prior to the above code it saves the line-numbers of all Bookmarked lines
b) following the above code it tries to set
Bookmark
s on the saved line-numbersI'm fairly sure the if the content of
ITextDocumentEditor
is completely replaced all existingBookmark
s in the document will also be deleted.If by some miracle the above statement is not true, (2) above will no longer be a problem, but (1) still needs to be implemented.
How can I accomplish the above without using
EditPoint2
either now or in the future?The text was updated successfully, but these errors were encountered: