1
0
forked from GitHub/gf-core
Commit Graph

12 Commits

Author SHA1 Message Date
john.j.camilleri
b8e3fe7bc0 Syntax editor: initial support for string literals
Also a bug fix when switching to editor, although this still messes up
when using the letters grammar.
Also updated readme with options, and some style improvements.
2013-01-11 15:33:17 +00:00
john.j.camilleri
2623925e67 Syntax editor: unwrap feature 2012-12-11 15:09:16 +00:00
john.j.camilleri
953b6b573a Syntax editor: change startcat when wrapping top node 2012-12-07 15:32:31 +00:00
john.j.camilleri
904e8029fe Syntax editor: various small improvements...
- separate tree edit buttons from option buttons
- fix bug when wrapping on freshly imported ast
- add interface for import & export of ast
- cleaner internal implementation of Editor.add_refinement
- small style updates
2012-12-07 12:55:17 +00:00
john.j.camilleri
32f085a4b5 Syntax editor: wrap now handles multiple possible positions for subtree 2012-12-04 15:45:41 +00:00
john.j.camilleri
314052f8d3 Syntax editor: add wrap feature 2012-12-03 14:02:47 +00:00
john.j.camilleri
0ac61fefba Syntax editor: internal optimizations by pre-computing certain stuff 2012-11-30 15:08:46 +00:00
john.j.camilleri
58c3e3db85 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)
2012-11-30 10:56:42 +00:00
john.j.camilleri
8cefec807a Syntax editor: internal improvements. re-introduce initialize_from function 2012-11-29 15:40:18 +00:00
john.j.camilleri
59b9676fd1 Syntax editor; add new helper for parsing type signatures (not complete) 2012-11-27 12:00:41 +00:00
john.j.camilleri
b3c1177f9e Syntax editor: improvements and fixes with grammar manager 2012-11-27 10:09:40 +00:00
john.j.camilleri
09c4f8410e Syntax editor: update to use common js files 2012-11-20 13:56:56 +00:00