Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Why3
why3
Commits
87585cc2
Commit
87585cc2
authored
Nov 18, 2016
by
Clément Fumex
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add completion for detected provers + hard coded add of auto
parent
3b6e3e61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
src/ide/why3ide.ml
src/ide/why3ide.ml
+10
-2
No files found.
src/ide/why3ide.ml
View file @
87585cc2
...
...
@@ -356,7 +356,7 @@ let add_completion_entry s =
let
row
=
completion_model
#
append
()
in
completion_model
#
set
~
row
~
column
:
completion_col
s
let
init_comp
()
=
let
init_comp
cont
=
(* add the names of all the the transformations *)
List
.
iter
add_completion_entry
(
Trans
.
list_trans
()
);
(* add the name of the commands *)
...
...
@@ -364,6 +364,14 @@ let init_comp () =
Session_user_interface
.
commands
;
(* todo: add queries *)
(* add provers *)
Whyconf
.
Hprover
.
iter
(
fun
p
_
->
add_completion_entry
(
p
.
Whyconf
.
prover_name
^
","
^
p
.
Whyconf
.
prover_version
))
cont
.
Controller_itp
.
controller_provers
;
add_completion_entry
"auto"
;
add_completion_entry
"auto 2"
;
command_entry_completion
#
set_text_column
completion_col
;
command_entry
#
set_completion
command_entry_completion
...
...
@@ -772,7 +780,7 @@ let (_ : GtkSignal.id) =
let
()
=
build_tree_from_session
cont
;
(* temporary *)
init_comp
()
;
init_comp
cont
;
vpan222
#
set_position
500
;
goals_view
#
expand_all
()
;
main_window
#
add_accel_group
accel_group
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment