1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 02:42:25 +01:00

whitespace fixes

This commit is contained in:
Doug Kearns
2008-10-23 14:05:27 +00:00
parent 0c8dc35413
commit 190b7dadbe
2 changed files with 4 additions and 4 deletions

View File

@@ -148,15 +148,15 @@ function Search() //{{{
var last = cur;
sel.lineMove(forward, false);
cur = selection.getRangeAt(0);
if(equal(cur, last))
if (equal(cur, last))
break;
yield cur;
}
}
yield orig;
for(let range in getRanges(true))
for (let range in getRanges(true))
yield range;
for(let range in getRanges(false))
for (let range in getRanges(false))
yield range;
}
for (let range in getLines())

View File

@@ -364,7 +364,7 @@ function IO() //{{{
args = "!" + (args || "");
// TODO: Hmmm, actually Vim doesn't handle multiple backslashes and documents it - desirable?
args = args.replace(/((?:^|[^\\])(?:\\\\)*)!/g, function(m, n) n != null ? n + lastRunCommand : m)
args = args.replace(/((?:^|[^\\])(?:\\\\)*)!/g, function (m, n) n != null ? n + lastRunCommand : m)
lastRunCommand = args;
let output = io.system(args);