From ec9b83d898f18771ee049902dbbbcf8dc9ab7df9 Mon Sep 17 00:00:00 2001
From: Doug Kearns
Date: Sat, 2 Oct 2010 17:49:55 +1000
Subject: [PATCH] Whitespace fixes.
---
License.txt | 18 ++++-----
common/content/commandline.js | 2 +-
common/content/help.xsl | 4 +-
common/content/io.js | 2 +-
common/locale/en-US/all.xml | 1 +
common/locale/en-US/browsing.xml | 38 ------------------
common/locale/en-US/buffer.xml | 41 --------------------
common/locale/en-US/cmdline.xml | 11 ------
common/locale/en-US/developer.xml | 8 ++--
common/locale/en-US/eval.xml | 6 ---
common/locale/en-US/gui.xml | 15 --------
common/locale/en-US/hints.xml | 6 +--
common/locale/en-US/index.xml | 26 +------------
common/locale/en-US/insert.xml | 4 +-
common/locale/en-US/map.xml | 26 +------------
common/locale/en-US/marks.xml | 1 +
common/locale/en-US/message.xml | 3 +-
common/locale/en-US/options.xml | 55 +--------------------------
common/locale/en-US/pattern.xml | 7 +---
common/locale/en-US/print.xml | 3 +-
common/locale/en-US/repeat.xml | 19 ++-------
common/locale/en-US/starting.xml | 8 +---
common/locale/en-US/styling.xml | 10 +----
common/locale/en-US/tabs.xml | 27 +------------
common/locale/en-US/various.xml | 18 +--------
pentadactyl/NEWS | 2 +-
pentadactyl/locale/en-US/intro.xml | 1 +
pentadactyl/locale/en-US/tutorial.xml | 4 +-
teledactyl/locale/en-US/intro.xml | 2 +-
xulmus/chrome.manifest | 2 +-
xulmus/locale/en-US/gui.xml | 6 +--
xulmus/locale/en-US/player.xml | 25 ------------
32 files changed, 43 insertions(+), 358 deletions(-)
diff --git a/License.txt b/License.txt
index f6a7a8b8..d8fcf815 100644
--- a/License.txt
+++ b/License.txt
@@ -8,16 +8,16 @@ Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
-and/or sell copies of the Software, and to permit persons to whom the
+and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
diff --git a/common/content/commandline.js b/common/content/commandline.js
index 166c3ac3..cc3a5c61 100644
--- a/common/content/commandline.js
+++ b/common/content/commandline.js
@@ -149,7 +149,7 @@ const CommandWidgets = Class("CommandWidgets", {
multilineOutput: Class.memoize(function () {
let elem = document.getElementById("dactyl-multiline-output");
elem.contentDocument.body.id = "dactyl-multiline-output-content";
- document.getElementById("dactyl-context-copylink").style.listStyleImage =
+ document.getElementById("dactyl-context-copylink").style.listStyleImage =
util.computedStyle(document.getElementById("context-copylink")).listStyleImage;
return elem;
}),
diff --git a/common/content/help.xsl b/common/content/help.xsl
index ae10f4de..1727dd42 100644
--- a/common/content/help.xsl
+++ b/common/content/help.xsl
@@ -411,7 +411,7 @@
Note:
-
+
@@ -420,7 +420,7 @@
Warning:
-
+
diff --git a/common/content/io.js b/common/content/io.js
index c0d0c83a..96c74f7a 100644
--- a/common/content/io.js
+++ b/common/content/io.js
@@ -541,7 +541,7 @@ lookup:
// NOTE: this command is only used in :source
commands.add(["fini[sh]"],
"Stop sourcing a script file",
- function () {
+ function () {
dactyl.assert(io.sourcing, "E168: :finish used outside of a sourced file");
io.sourcing.finished = true;
},
diff --git a/common/locale/en-US/all.xml b/common/locale/en-US/all.xml
index 1d6e5412..ccb98583 100644
--- a/common/locale/en-US/all.xml
+++ b/common/locale/en-US/all.xml
@@ -37,4 +37,5 @@
+
diff --git a/common/locale/en-US/browsing.xml b/common/locale/en-US/browsing.xml
index 8def5196..db139c85 100644
--- a/common/locale/en-US/browsing.xml
+++ b/common/locale/en-US/browsing.xml
@@ -31,7 +31,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
CTRL-V]]>CTRL-V
@@ -42,7 +41,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
Opening web pages
@@ -104,7 +102,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
t :t :tabopen :tabnew:tabopen!arg1, arg2, …
@@ -118,7 +115,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
TT
@@ -129,7 +125,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
:tabdu :tabduplicate:counttabduplicate!
@@ -142,7 +137,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
OO
@@ -153,7 +147,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
w :winopen :wopen:winopen!arg1, arg2, …
@@ -166,7 +159,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
WW
@@ -177,7 +169,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
p]]>
@@ -192,7 +183,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
P
@@ -207,7 +197,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
gP
@@ -221,7 +210,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
]]>
@@ -236,7 +224,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
]]>
@@ -249,7 +236,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
~~
@@ -258,7 +244,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
Navigating
@@ -276,7 +261,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
CTRL-i :fo :fw :forward]]>:countforwardurl
@@ -292,7 +276,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
:ju :jumps:jumps
@@ -307,7 +290,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
ghgh
@@ -316,7 +298,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
gH
@@ -330,7 +311,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
gucountgu
@@ -345,7 +325,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
gUgU
@@ -360,7 +339,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
Reloading
@@ -371,7 +349,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
RR
@@ -380,7 +357,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
:re :reload:reload!
@@ -392,7 +368,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
:reloada :reloadall:reloadall!
@@ -404,7 +379,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
Stopping
@@ -417,7 +391,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
:stopa :stopall:stopall
@@ -426,7 +399,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
Writing
@@ -443,7 +415,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
Quitting
@@ -458,7 +429,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
:qa :qall :quita :quitall
@@ -471,7 +441,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
:wc :wclose :winc :winclose:winclose
@@ -480,7 +449,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
:winon :winonly:winonly
@@ -489,7 +457,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
:xa :xall :wq :wqa :wqall:wqall
@@ -504,7 +471,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
ZQZQ
@@ -513,7 +479,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
ZZZZ
@@ -525,7 +490,6 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
-
@@ -248,7 +236,6 @@
-
:tbh :tbhide :toolbarh :toolbarhide:toolbarhide name
@@ -257,7 +244,6 @@
-
:tbt :tbtoggle :toolbart :toolbartoggle:toolbartoggle name
@@ -266,7 +252,6 @@
-
diff --git a/common/locale/en-US/hints.xml b/common/locale/en-US/hints.xml
index 6f30df3f..20d87e02 100644
--- a/common/locale/en-US/hints.xml
+++ b/common/locale/en-US/hints.xml
@@ -19,7 +19,7 @@
narrow them down. While the default action is to click the
selected link, other actions are available, including saving the
resulting link, copying its URL, or saving an image. For each
- of these actions, only the set of applicable elements is
+ of these actions, only the set of applicable elements is
highlighted.
@@ -56,7 +56,6 @@
-
F
@@ -72,8 +71,6 @@
-
-
extended-hints; ExtendedHint
@@ -126,4 +123,5 @@
+
diff --git a/common/locale/en-US/index.xml b/common/locale/en-US/index.xml
index e3f15dde..c533535f 100644
--- a/common/locale/en-US/index.xml
+++ b/common/locale/en-US/index.xml
@@ -22,7 +22,6 @@ This file contains a list of all available commands, mappings and options.
Expand an Insert-mode abbreviation
-
Normal mode
@@ -42,29 +41,24 @@ This file contains a list of all available commands, mappings and options.
Temporarily ignore all &dactyl.appName; key bindings
-
Focus content
-
Open help window
-
Rewind keyboard focus
Advance keyboard focus
-
0
Scroll to the absolute left of the document
$
Scroll to the absolute right of the document
-
A
Toggle bookmarked state of current URL
B
Show buffer list
@@ -83,7 +77,6 @@ This file contains a list of all available commands, mappings and options.
W
Open one or more URLs in a new window, based on current location
-
a
Open a prompt to bookmark the current URL
b
Open a prompt to switch buffers
@@ -106,22 +99,18 @@ This file contains a list of all available commands, mappings and options.
w
Open one or more URLs in a new window
-
;
Start an extended hint mode
-
:
Enter Command-line mode
-
~
Open home directory
-
/
Search forward for a pattern
?
Search backwards for a pattern
@@ -129,28 +118,23 @@ This file contains a list of all available commands, mappings and options.
@@ -156,14 +147,14 @@
and modules objects are accessible to your script as
global variables.
-
+
Files in ~/.&dactyl.name;/plugins may additionally be
accessed in plugins.filename where filename
is the last component of the file's path stripped of any
extensions, with all hyphens stripped and any letter following a
hyphen capitalized. So, the file
- ~/.&dactyl.name;/plugins/foo-bar.js may be accessed as
+ ~/.&dactyl.name;/plugins/foo-bar.js may be accessed as
plugins.fooBar. See also writing-plugins
@@ -295,7 +281,6 @@
unfortunately. So now you might wonder what the meaning of death is...
-
Uncategorized help
@@ -310,7 +295,6 @@
-
i]]>
@@ -324,6 +308,6 @@
-
+
diff --git a/pentadactyl/NEWS b/pentadactyl/NEWS
index 72b48421..8a10e94c 100644
--- a/pentadactyl/NEWS
+++ b/pentadactyl/NEWS
@@ -74,7 +74,7 @@
* Page zoom information is now shown in the status bar, and
change in zoom status no longer appears in :messages.
* Added ZO, ZI, ZM, and ZR as aliases for zO, zI, zM, and zR.
- * Completion list now behaves better when the multi-line output
+ * Completion list now behaves better when the multi-line output
window is displayed.
* Major help system improvements:
- Plugins may now provide full-fledged ':help' documentation.
diff --git a/pentadactyl/locale/en-US/intro.xml b/pentadactyl/locale/en-US/intro.xml
index 94b91b51..3f07536f 100644
--- a/pentadactyl/locale/en-US/intro.xml
+++ b/pentadactyl/locale/en-US/intro.xml
@@ -178,4 +178,5 @@
+
diff --git a/pentadactyl/locale/en-US/tutorial.xml b/pentadactyl/locale/en-US/tutorial.xml
index 8a384f5d..dbe609ba 100644
--- a/pentadactyl/locale/en-US/tutorial.xml
+++ b/pentadactyl/locale/en-US/tutorial.xml
@@ -343,10 +343,8 @@
Tutorial link to return.
-
-
Get me out of here!
@@ -365,7 +363,6 @@
as above, with :set go+=m, and select Add-ons from the Tools menu.
- Open the specified display pane. pane is any of "service
- pane left", "service pane bottom", "content pane bottom" or "right
- sidebar".
+ Open the specified display pane. pane is any of "service
+ pane left", "service pane bottom", "content pane bottom" or "right
+ sidebar".