1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-31 14:55:46 +01:00

Auto-hide the command-line by default; allow showing messages/mode/command-line in the status bar.

This commit is contained in:
Kris Maglione
2010-09-27 07:39:49 -04:00
parent c8faebba0a
commit bed08a3455
14 changed files with 377 additions and 191 deletions

View File

@@ -381,7 +381,7 @@ const Editor = Module("editor", {
*/
expandAbbreviation: function (mode) {
let textbox = Editor.getEditor();
if (!textbox)
if (!(textbox && textbox.value))
return false;
let text = textbox.value;
let currStart = textbox.selectionStart;