1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-31 12:02:27 +01:00

merge MOW improvements

This commit is contained in:
Doug Kearns
2007-10-06 13:16:01 +00:00
parent e093b81437
commit 2028ebba19
11 changed files with 305 additions and 164 deletions

View File

@@ -451,7 +451,7 @@ const vimperator = (function() //{{{
}
if (color)
string += "<span style=\"color: magenta; font-weight: bold;\">" + obj + "</span>::\n";
string += "<span class=\"hl-Title\">" + obj + "</span>::\n";
else
string += obj + "::\n";
@@ -494,7 +494,7 @@ const vimperator = (function() //{{{
{
var str = value.toString();
if (typeof str == "string") // can be "undefined"
value = str.replace(/</g, "&lt;").replace(/>/g, "&gt;");
value = vimperator.util.escapeHTML(str);
}
}
@@ -746,8 +746,8 @@ const vimperator = (function() //{{{
vimperator.hints = new Hints();
vimperator.log("All modules loaded", 3);
vimperator.echo = vimperator.commandline.echo;
vimperator.echoerr = vimperator.commandline.echoErr;
vimperator.echo = function(str) { vimperator.commandline.echo(str); }
vimperator.echoerr = function(str) { vimperator.commandline.echo(str, vimperator.commandline.HL_ERRORMSG); }
vimperator.globalVariables = {};