1
0
forked from GitHub/gf-core

Syntax editor: in-place replacement of functions

When at a non-leaf node, refinements with identical type signatures
are highlighting and can re placed without destroying the children.
If not, the refinement is greyed and the user is asked to clear
the current subtree first if they wish to replace it.
This aspect of the UI should be polished, but at least it is obvious.
Also, some substantial optimizations can still be made to cache
the processed type signatures (which determine what can be replaced
in-place)
This commit is contained in:
john.j.camilleri
2012-11-30 10:56:42 +00:00
parent 7b87169c76
commit 589e1e4f08
5 changed files with 89 additions and 26 deletions

View File

@@ -73,6 +73,10 @@ body.syntax-editor {
font: 0.9em sans-serif;
background: white;
}
.refinement.disabled
{
opacity: 0.5;
}
#debug
{