Open
Description
I am writing an extension which is purposed to allow users to extract some text from an opened document and put those content into a new code window.
I now uses DTE.ItemOperations.NewFile
to create an empty new code window then uses the ITextView.TextBuffer.CreateEdit()
method to insert text there.
However, that will cause the inserted text could be removed if a user presses Ctrl+Z, also the track margin indicates the inserted text. Is it possible to prevent that from happening?
Metadata
Assignees
Labels
No labels
Activity