mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
The code behind 'Cancel' was identical to the code for 'Save'. Since the commenting API is modifying the body of the comment, we need to save the previous value in the Comment object.