aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ide/coqide.ml8
1 files changed, 8 insertions, 0 deletions
diff --git a/ide/coqide.ml b/ide/coqide.ml
index aa3bc87fa8..3cc85b6f26 100644
--- a/ide/coqide.ml
+++ b/ide/coqide.ml
@@ -2894,6 +2894,14 @@ with _ := Induction for _ Sort _.\n",61,10, Some GdkKeysyms._S);
())
in
let _ =
+ queries_factory#add_item "_Locate"
+ ~callback:(fun () -> let term = get_current_word () in
+ (Command_windows.command_window ())#new_command
+ ~command:"Locate"
+ ~term
+ ())
+ in
+ let _ =
queries_factory#add_item "_Whelp Locate"
~callback:(fun () -> let term = get_current_word () in
(Command_windows.command_window ())#new_command