fixed action of TAB, and made RETURN be more useful than to cause failures. Refactor plain.js and add mouse click updates

This commit is contained in:
Joe Walker 2010-12-12 12:57:43 +00:00
commit b4411583dd
2 changed files with 234 additions and 147 deletions

View file

@ -103,7 +103,7 @@ Hint.sort = function(hints, cursor) {
}
}
// otherwise go with hint severity
return hint1 - hint2;
return hint2.status - hint1.status;
});
// tidy-up
if (cursor !== undefined) {