diff --git a/common/content/configbase.js b/common/content/configbase.js index 39985283..d89b2c0f 100644 --- a/common/content/configbase.js +++ b/common/content/configbase.js @@ -188,7 +188,8 @@ const ConfigBase = Class(ModuleBase, { StatusModeMsg color: inherit !important; background: inherit !important; padding-right: 1em; MoreMsg color: green !important; background: white !important; StatusMoreMsg background: inherit !important; - Message white-space: normal; min-width: 100%; padding-left: 2em; text-indent: -2em; display: block; + Message white-space: pre-wrap !important; min-width: 100%; width: 100%; padding-left: 4em; text-indent: -4em; display: block; + !Message String white-space: pre-wrap; NonText color: blue; min-height: 16px; padding-left: 2px; *Preview color: gray; Question color: green !important; background: white !important; font-weight: bold !important; diff --git a/common/content/options.js b/common/content/options.js index b6da0b34..2e941b96 100644 --- a/common/content/options.js +++ b/common/content/options.js @@ -893,7 +893,7 @@ const Options = Module("options", { if (options["verbose"] > 0 && option.setFrom) msg += "\n Last set from " + option.setFrom; - dactyl.echo({msg}); + dactyl.echo({msg}); } } // write access diff --git a/common/modules/highlight.jsm b/common/modules/highlight.jsm index cf617351..96a142e0 100644 --- a/common/modules/highlight.jsm +++ b/common/modules/highlight.jsm @@ -147,13 +147,11 @@ const Highlights = Module("Highlight", { * * @param {string} class */ - selector: function (class_) { - let [, hl, rest] = class_.match(/^(\w*)(.*)/); - let pattern = "[dactyl|highlight~=" + hl + "]"; - if (this.highlight[hl] && this.highlight[hl].class != class_) - pattern = this.highlight[hl].selector; - return pattern + rest; - }, + selector: function (class_) + class_.replace(/(^|\s)([A-Z]\w+)\b/g, + function (m, n1, hl) n1 + + (this.highlight[hl] && this.highlight[hl].class != class_ + ? this.highlight[hl] : "[dactyl|highlight~=" + hl + "]")), /** * Clears all highlighting rules. Rules with default values are diff --git a/common/modules/template.jsm b/common/modules/template.jsm index d07161c4..dfa87abc 100644 --- a/common/modules/template.jsm +++ b/common/modules/template.jsm @@ -234,8 +234,10 @@ const Template = Module("Template", { this.map(opts, function (opt)