1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 02:44:12 +01:00

Minor mode magic.

This commit is contained in:
Kris Maglione
2010-12-07 01:21:42 -05:00
parent bf73483d42
commit 0af0b5340e
3 changed files with 19 additions and 19 deletions

View File

@@ -11,8 +11,8 @@
/** @instance editor */
const Editor = Module("editor", {
get isCaret() modes.getStack(1).main === modes.CARET,
get isTextEdit() modes.getStack(1).main === modes.TEXT_EDIT,
get isCaret() modes.getStack(1).main == modes.CARET,
get isTextEdit() modes.getStack(1).main == modes.TEXT_EDIT,
unselectText: function (toEnd) {
try {