Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
120
Issues
120
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
42f56bcc
Commit
42f56bcc
authored
Oct 20, 2017
by
Guillaume Melquiond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some text to the command entry to make it more intuitive.
parent
bbb09824
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
src/ide/why3ide.ml
src/ide/why3ide.ml
+13
-1
No files found.
src/ide/why3ide.ml
View file @
42f56bcc
...
...
@@ -870,7 +870,10 @@ let monitor =
~
xalign
:
0
.
0
~
packing
:
(
hbox22221
#
pack
?
from
:
None
?
expand
:
None
?
fill
:
None
?
padding
:
None
)
()
let
command_entry
=
GEdit
.
entry
~
packing
:
hbox22221
#
add
()
let
command_entry
=
GEdit
.
entry
~
text
:
"type commands here"
~
packing
:
hbox22221
#
add
()
(* Part 2.2.2.2.2 contains messages returned by the IDE/server *)
let
messages_notebook
=
GPack
.
notebook
~
packing
:
vbox2222
#
add
()
...
...
@@ -1254,6 +1257,15 @@ let (_ : GtkSignal.id) =
~
callback
:
(
fun
()
->
add_command
list_commands
command_entry
#
text
;
interp
command_entry
#
text
)
(* remove the helper text from the command entry the first time it gets the focus *)
let
()
=
let
id
=
ref
None
in
let
callback
_
=
clear_command_entry
()
;
GtkSignal
.
disconnect
command_entry
#
as_entry
(
Opt
.
get
!
id
);
false
in
id
:=
Some
(
command_entry
#
event
#
connect
#
focus_in
~
callback
)
let
on_selected_row
r
=
try
let
id
=
get_node_id
r
#
iter
in
...
...
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