summaryrefslogtreecommitdiff
path: root/Source/DafnyMenu
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2013-07-02 18:59:10 -0700
committerGravatar wuestholz <unknown>2013-07-02 18:59:10 -0700
commit3c572baf712bccd21572a17866c8bb46b47c4064 (patch)
treec92d93d94993472b3f6f237e3eafaa0daf02280a /Source/DafnyMenu
parentb91fe75848478af71214e277ef036fe02f733fde (diff)
DafnyExtension: Enabled verification result caching by default.
Diffstat (limited to 'Source/DafnyMenu')
-rw-r--r--Source/DafnyMenu/DafnyMenu.vsct2
-rw-r--r--Source/DafnyMenu/DafnyMenuPackage.cs1
2 files changed, 2 insertions, 1 deletions
diff --git a/Source/DafnyMenu/DafnyMenu.vsct b/Source/DafnyMenu/DafnyMenu.vsct
index c4f562e4..5cb2975d 100644
--- a/Source/DafnyMenu/DafnyMenu.vsct
+++ b/Source/DafnyMenu/DafnyMenu.vsct
@@ -99,7 +99,7 @@
<Parent guid="guidDafnyMenuCmdSet" id="DafnyMenuGroup" />
<CommandFlag>TextChanges</CommandFlag>
<Strings>
- <ButtonText>Enable on-demand re-verification</ButtonText>
+ <ButtonText>Disable on-demand re-verification</ButtonText>
</Strings>
</Button>
diff --git a/Source/DafnyMenu/DafnyMenuPackage.cs b/Source/DafnyMenu/DafnyMenuPackage.cs
index 9bef8d88..294b0b75 100644
--- a/Source/DafnyMenu/DafnyMenuPackage.cs
+++ b/Source/DafnyMenu/DafnyMenuPackage.cs
@@ -88,6 +88,7 @@ namespace DafnyLanguage.DafnyMenu
mcs.AddCommand(stopVerifierCommand);
var toggleSnapshotVerificationCommandID = new CommandID(GuidList.guidDafnyMenuCmdSet, (int)PkgCmdIDList.cmdidToggleSnapshotVerification);
+ DafnyDriver.ToggleIncrementalVerification();
toggleSnapshotVerificationCommand = new OleMenuCommand(ToggleSnapshotVerificationCallback, toggleSnapshotVerificationCommandID);
mcs.AddCommand(toggleSnapshotVerificationCommand);