Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
sarah.grebing
ProofScriptParser
Commits
3f8fd8a6
Commit
3f8fd8a6
authored
May 30, 2018
by
Sarah Grebing
Browse files
minor bugfix
parent
50f70803
Changes
4
Hide whitespace changes
Inline
Side-by-side
rt-key/src/main/java/edu/kit/iti/formal/psdbg/interpreter/KeYProofFacade.java
View file @
3f8fd8a6
...
...
@@ -63,7 +63,7 @@ public class KeYProofFacade {
private
SimpleObjectProperty
<
Contract
>
contract
=
new
SimpleObjectProperty
<>();
/**
* BooleanProperty in
i
dcating whether KeY finished loading
* BooleanProperty ind
i
cating whether KeY finished loading
*/
private
BooleanBinding
readyToExecute
=
proof
.
isNotNull
();
...
...
ui/src/main/java/edu/kit/iti/formal/psdbg/gui/controller/DebuggerMain.java
View file @
3f8fd8a6
...
...
@@ -349,9 +349,13 @@ public class DebuggerMain implements Initializable {
BooleanBinding
disableStepping
=
FACADE
.
loadingProperty
().
or
(
FACADE
.
proofProperty
().
isNull
()).
or
(
model
.
interpreterStateProperty
().
isNotEqualTo
(
InterpreterThreadState
.
WAIT
));
FACADE
.
loadingProperty
().
addListener
((
observable
,
oldValue
,
newValue
)
->
{
scriptController
.
disablePropertyForAreasProperty
().
set
(
newValue
);
//set scriptareas to disable if loading is in process, as otherwise the scriptarea jumps
FACADE
.
readyToExecuteProperty
().
addListener
((
observable
,
oldValue
,
newValue
)
->
{
scriptController
.
disablePropertyForAreasProperty
().
set
(!
newValue
);
});
/* model.statePointerProperty().addListener((observable, oldValue, newValue) -> {
//set all steppings -> remove binding
...
...
@@ -766,7 +770,7 @@ public class DebuggerMain implements Initializable {
task
.
setOnFailed
(
event
->
{
statusBar
.
stopProgress
();
event
.
getSource
().
exceptionProperty
().
get
();
System
.
out
.
println
(
"event.getSource().getMessage() = "
+
event
.
getSource
().
getMessage
());
Utils
.
showExceptionDialog
(
"Could not load sourceName"
,
"Key sourceName loading error"
,
""
,
(
Throwable
)
event
.
getSource
().
exceptionProperty
().
get
()
);
...
...
ui/src/main/java/edu/kit/iti/formal/psdbg/gui/controls/FileReloadingService.java
View file @
3f8fd8a6
...
...
@@ -101,13 +101,16 @@ public class FileReloadingService extends TimerTask {
Path
child
=
dir
.
resolve
(
filename
).
toAbsolutePath
();
try
{
String
content
=
FileUtils
.
readFileToString
(
child
.
toFile
(),
Charset
.
defaultCharset
());
CONSOLE_LOGGER
.
info
(
"Auto-reload {}"
,
child
);
Platform
.
runLater
(()
->
{
if
(
callbacks
.
get
(
child
)!=
null
)
{
File
file
=
child
.
toFile
();
if
(
file
!=
null
)
{
String
content
=
FileUtils
.
readFileToString
(
file
,
Charset
.
defaultCharset
());
CONSOLE_LOGGER
.
info
(
"Auto-reload {}"
,
child
);
Platform
.
runLater
(()
->
{
if
(
callbacks
.
get
(
child
)
!=
null
)
{
callbacks
.
get
(
child
).
fileChanged
(
content
);
}
});
});
}
}
catch
(
IOException
e
)
{
CONSOLE_LOGGER
.
catching
(
e
);
}
catch
(
NullPointerException
npe
){
...
...
website/docs/index.md
View file @
3f8fd8a6
...
...
@@ -205,6 +205,12 @@ interactive rule applications.
</div>
<div
style=
"clear: both;"
/>
<h2>
Usage Notes
</h2>
Terms in KPS are enquoted using backticks
`
.
Entering these in the editor of PDBG requires a
keyboard layout with the option "no dead keys" enabled.
If this is not possible the terms can be entered by using the shortcut Ctrl+E
which adds a pair of backticks to the cursor position.
<h2>
Downloads
</h2>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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