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

Automagical macro command completion.

This commit is contained in:
Kris Maglione
2011-10-04 08:16:05 -04:00
parent a96716c2d8
commit a69eedc980
3 changed files with 39 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ var Editor = Module("editor", {
return controllers.getControllerForCommand(cmd || "cmd_beginLine");
},
get selection() this.editor && this.editor.selection,
get selection() this.editor && this.editor.selection || null,
get isCaret() modes.getStack(1).main == modes.CARET,
get isTextEdit() modes.getStack(1).main == modes.TEXT_EDIT,