From d66110f84eec765bb26ebaa716bbce79d6c90913 Mon Sep 17 00:00:00 2001 From: hallgren Date: Mon, 21 Nov 2011 15:24:29 +0000 Subject: gfse: example-based: some usability improvements Instead of showing nothing, show disabled buttons and some expanatory text to provide guidance for users getting started with example-based grammar writing. --- src/www/gfse/editor.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/www/gfse/editor.js') diff --git a/src/www/gfse/editor.js b/src/www/gfse/editor.js index 95c72d972..7f2112b6b 100644 --- a/src/www/gfse/editor.js +++ b/src/www/gfse/editor.js @@ -990,6 +990,7 @@ function inError(msg,el) { function kw(txt) { return wrap_class("span","kw",text(txt)); } function sep(txt) { return wrap_class("span","sep",text(txt)); } function ident(txt) { return wrap_class("span","ident",text(txt)); } +function unimportant(txt) { return wrap_class("small","unimportant",text(txt)); } function indent(cs) { return div_class("indent",cs); } function indent_sortable(cs,sort) { -- cgit v1.2.3