summaryrefslogtreecommitdiff
path: root/src/www/gfse/editor.js
AgeCommit message (Collapse)Author
2016-05-13Add a few missing languages in js/langcode.js. Use it also in gfse/editor.js.hallgren
gfse/editor.js had its own list with 34 languages, while js/langcode.js only had 30 languages. The missing languages have been added to js/langcode.js and all apps now use that list.
2016-04-03GFSE: add Latvian to the list of RGL languageshallgren
2016-01-19GFSE: add Afrikaans to the list of available RGL languages.hallgren
2015-05-21Fixed a problem with minibar when invoked from gfse or the syntax editorhallgren
Minibar needs js/langcode.js now, so need to include it in gfse/index.html and syntax-exitor/editor.html too.
2015-05-18GF cloud: updated lists of supported RGL languages and some minor style updateshallgren
2013-11-14gfse: re-enable example-based grammar constructionhallgren
2013-08-21gfse: don't use multiline text boxes everywhere, just for concrete syntaxhallgren
2013-08-19gfse: always open a resizable text box when editing concrete syntaxhallgren
(Also fixed a broken link in gf-web-api-examples.html)
2013-04-26gfse: use alltenses/ instead of present/ when looking up RGL oper typeshallgren
2013-04-26Add greek to Setup.hs and the web appshallgren
2013-04-12GF cloud: work on syntax editor integrationhallgren
+ The syntax editor is now accessible from the Simple Translaton Tool. + The minibar now automatically provides access to the syntax editor (provided the necessary JavaScript files and style sheets have been loaded). + Preparations for making the syntax editor accessible from the grammar editor.
2012-11-29minibar: add tool tips to some of the buttonshallgren
Also move the functions title and attr from editor/editor.js to js/support.js. Also mention recent changes in minibar/about.html.
2012-11-26gfse: add Prelude to the list of RGL modules that can be openedhallgren
2012-11-26gfse: more readable layout for not so simple grammars + bug fixhallgren
To make definitions that span multiple lines more readable in guided mode, preserve line breaks and indentation when lin and oper definitions are displayed and edited in guided mode. Bug fix: moving the cursor by clicking and selecting text by dragging did not work in textareas and input fields, because those mouse event were intercepted by the sort-by-drag-and-drop handler.
2012-11-23gf -server + gfse: show modification time of public grammarshallgren
2012-11-20gfse: remove obsolete fileshallgren
2012-10-22Add Chinese to the list of installed RGL languages and support it in the web ↵hallgren
apps Aarne says the Chinese resource grammar is complete, but not yet completely correct.
2012-10-18gfse: grammars can now contain one-line descriptionshallgren
Also fixed two small problems with public grammars.
2012-10-16gfse: small fixhallgren
2012-10-16gfse: identify inherited grammars by their unique idhallgren
This helps avoiding problems if an inherited grammar is renamed, or if there is more than one grammar with the same name.
2012-10-09gfse: show the grammar list if the currently selected grammar can not be loadedhallgren
Avoid showing a blank page if there is an unexpected problem with the grammars in localStorage.
2012-10-04gfse: various code improvements and prelimiary support for public grammarshallgren
2012-10-03gfse: fix a bug caused by sharing when copying a linearization function in ↵hallgren
the row view Functional programming is easier than imperative programming!
2012-10-03gfse: some refactoringhallgren
2012-10-03gfse: row view: add a button to copy a linearizationhallgren
When adding a new function, you can enter a linearization for one language and then copy it to the other languages with one button click.
2012-10-02gfse and cloud service documentation updatehallgren
2012-10-02gfse: you can now add new functions from the matrix viewhallgren
2012-10-02gfse: more intuitive buttons for switching between the column, matrix & row ↵hallgren
views
2012-10-01gfse: adding a "row" viewhallgren
Accessed by clicking on a function in the Abstract column in the matrix view.
2012-10-01gfse: matrix view improvementshallgren
+ You can click on a column header to switch to column view (i.e. the corresponding abstract/concrete syntax tab). + The categories and functions in the abstract syntax can be edited directly in the matrix view.
2012-09-30gfse: small linearization type display adjustmenthallgren
2012-09-30gfse: display "??" instead of "null" in linearization types when lincats are ↵hallgren
missing
2012-09-30gfse: show the types of linearization functions when hovering over their nameshallgren
2012-09-28gfse & cloud improvementshallgren
+ Added "Symbolic" to the list of resource modules that can be opened. + Clicking on the name of an opened resource module now displays the list operations it provides. (Implemented using show_operations in the GF shell.) + Added a GF version info link to the cloud service start page.
2012-09-21gfse: added a new "matrix view" of grammarshallgren
2012-08-02gfse: matching colors in cloud download/upload iconshallgren
2012-06-21gfse/sort.js: make it more resusablehallgren
Move the gfse-specific list of sortable tags and class names from sort.js to editor.js.
2012-06-12gfse & translator: change language code for Japanese to Jpnhallgren
2012-05-15Integrate Japanesehallgren
* Update Setup.hs to build Japanese by default. * News item about Japanese on the home page. * Add Japanese to the supported RGL imports in the grammar editor (gfse).
2012-04-24minibar&gfse: grammar extension user interface improvementshallgren
The grammar extension is now done with a regular HTML form, so you can use the TAB key to move between the fields and press ENTER to submit the extension when you are done. TODO: more immediate error feedback
2012-04-05minibar&gfse: grammar extension user interface fixeshallgren
It works OK now, but it could be better, e.g. the number of mouse clicks required to enter an extension could to be reduced...
2012-04-04minibar&gfse: first working grammar extension interface in minibarhallgren
There are still some user interface wrinkles to iron out.
2012-03-29gfse&minibar: work in progress on grammar extension fromminibarhallgren
2012-03-29gfse: show an informative error message in browsers that lack support for ↵hallgren
localStorage
2012-03-26gfse: enable word replacement in minibar when activated from the editorhallgren
2012-03-26gfse&minibar: fix bug caused by function name clashhallgren
+ Function div_id was defined in both editor.js and support.js. Solution: moved the more general version from editor.js to support.js. + Function div_class was defined in both editor.js and support.js. Solution: resolv incompatibility with an argument type test and put the generalized function in support.js.
2012-03-06gfse: small usability improvementshallgren
2012-03-05gfse: more helpful hints about grammar parts and RGL moduleshallgren
2012-03-05gfse: bug fix: avoid hickup when inhertiting from a missing concrete syntaxhallgren
2012-03-01gfse: bug fixhallgren
Fix a problem opening grammars created before grammar extension was introduced.