minibar: can now switch back to the minibar after switching to the syntax editor

This is done by including a lin_action when starting the syntax editor from
the minibar.
Also: added some minibar options in the syntax editor for consistency...
This commit is contained in:
hallgren
2012-11-22 16:42:39 +00:00
parent 78a2a90903
commit 8c9b90cc90
3 changed files with 36 additions and 8 deletions

View File

@@ -23,6 +23,11 @@ if(window.Minibar) // Minibar loaded?
editor.shutdown();
var minibar_options = {
target: "editor",
show_abstract: true,
show_trees: true,
show_grouped_translations: false,
show_brackets: true,
word_replacements: true,
initial_grammar: editor.menu.ui.grammar_menu.value, // hmm
initial: {
from: langFrom,