Skip to content

Commit 7f84152

Browse files
committed
make diff view not to be read only to allow copy
1 parent d5f5e9d commit 7f84152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ToolWindowWithEditor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public Tuple<Control, IVsTextView> SetDisplayedFile(string filePath)
9292
InitViewFlags: 0,
9393
pInitView: initView);
9494

95-
docData.SetStateFlags((uint)BUFFERSTATEFLAGS.BSF_USER_READONLY); //set read only
95+
//docData.SetStateFlags((uint)BUFFERSTATEFLAGS.BSF_USER_READONLY); //set read only
9696

9797
//Associate our IVsTextLines with our new code window.
9898
ErrorHandler.ThrowOnFailure(this.codeWindow.SetBuffer((IVsTextLines)docData));

0 commit comments

Comments
 (0)