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; var last = cur;
sel.lineMove(forward, false); sel.lineMove(forward, false);
cur = selection.getRangeAt(0); cur = selection.getRangeAt(0);
if(equal(cur, last)) if (equal(cur, last))
break; break;
yield cur; yield cur;
} }
} }
yield orig; yield orig;
for(let range in getRanges(true)) for (let range in getRanges(true))
yield range; yield range;
for(let range in getRanges(false)) for (let range in getRanges(false))
yield range; yield range;
} }
for (let range in getLines()) for (let range in getLines())

View File

@@ -364,7 +364,7 @@ function IO() //{{{
args = "!" + (args || ""); args = "!" + (args || "");
// TODO: Hmmm, actually Vim doesn't handle multiple backslashes and documents it - desirable? // 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; lastRunCommand = args;
let output = io.system(args); let output = io.system(args);