mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 17:27:57 +01:00
trivial whitespace fixes
This commit is contained in:
@@ -106,7 +106,7 @@ vimperator.Editor = function() //{{{
|
|||||||
count = 1;
|
count = 1;
|
||||||
|
|
||||||
var did_command = false;
|
var did_command = false;
|
||||||
while(count--)
|
while (count--)
|
||||||
{
|
{
|
||||||
// some commands need this try/catch workaround, because a cmd_charPrevious triggered
|
// some commands need this try/catch workaround, because a cmd_charPrevious triggered
|
||||||
// at the beginning of the textarea, would hang the doCommand()
|
// at the beginning of the textarea, would hang the doCommand()
|
||||||
@@ -116,7 +116,7 @@ vimperator.Editor = function() //{{{
|
|||||||
controller.doCommand(cmd);
|
controller.doCommand(cmd);
|
||||||
did_command = true;
|
did_command = true;
|
||||||
}
|
}
|
||||||
catch(e)
|
catch (e)
|
||||||
{
|
{
|
||||||
if (!did_command)
|
if (!did_command)
|
||||||
vimperator.beep();
|
vimperator.beep();
|
||||||
@@ -270,7 +270,7 @@ vimperator.Editor = function() //{{{
|
|||||||
if (count == 0)
|
if (count == 0)
|
||||||
return i + 1; // always position the cursor after the char
|
return i + 1; // always position the cursor after the char
|
||||||
}
|
}
|
||||||
|
|
||||||
vimperator.beep();
|
vimperator.beep();
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
@@ -296,7 +296,7 @@ vimperator.Editor = function() //{{{
|
|||||||
if (count == 0)
|
if (count == 0)
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
vimperator.beep();
|
vimperator.beep();
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
@@ -322,7 +322,7 @@ vimperator.Editor = function() //{{{
|
|||||||
vimperator.echoerr("Could not create temporary file: " + e.message);
|
vimperator.echoerr("Could not create temporary file: " + e.message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
vimperator.io.writeFile(tmpfile, textBox.value);
|
vimperator.io.writeFile(tmpfile, textBox.value);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user