1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 07:58:00 +01:00

<c-u> doesn't beep anymore when there is no text to delete

This commit is contained in:
Martin Stubenschrott
2008-03-31 20:44:48 +00:00
parent 1577c8099d
commit 01d9ffcc4d
2 changed files with 4 additions and 25 deletions

View File

@@ -237,7 +237,8 @@ liberator.Editor = function () //{{{
// broken in FF3, deletes the whole line:
// liberator.editor.executeCommand("cmd_deleteToBeginningOfLine", 1);
liberator.editor.executeCommand("cmd_selectBeginLine", 1);
liberator.editor.executeCommand("cmd_delete", 1);
if (getController().isCommandEnabled("cmd_delete"))
liberator.editor.executeCommand("cmd_delete", 1);
});
liberator.mappings.add(modes,