Delete obviously erroneous (and often annoying) trailing whitespace.

This commit is contained in:
Spenser Truex 2019-09-14 13:01:41 -07:00 committed by Spenser Truex
parent 8f4de7765e
commit 695a7db1ed
24 changed files with 25 additions and 25 deletions

View File

@ -17,5 +17,5 @@
publisher = {${publisher}}}${,
note = {${note}}}
}
$0

View File

@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# name: using namespace ...
# name: using namespace ...
# key: using
# --
using namespace ${std};

View File

@ -10,5 +10,5 @@ user "${1:random}" do
home "${5:/home/random}"
shell "${6:/bin/zsh}"
password "${7:\$1\$JJsvHslV\$szsCjVEroftprNn4JHtDi.}"
supports :manage_home =>manage_home true
supports :manage_home =>manage_home true
end

View File

@ -15,7 +15,7 @@ ${5:public} class ${1:Name}
/// <summary>
/// ${4:Default Destructor}
/// </summary>
/// </summary>
public ~$1()
{
}

View File

@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# name: enum … { … }
# name: enum … { … }
# key: enum
# --
enum ${1:name}

View File

@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# name: try … finally …
# name: try … finally …
# key: tryf
# --
try

View File

@ -3,7 +3,7 @@
# contributor : Xah Lee
# --
;; idiom for processing a list of files in dired's marked files
;; suppose myProcessFile is your function that takes a file path
;; and do some processing on the file

View File

@ -6,7 +6,7 @@
"Replace “<” to “&lt;” and other chars in HTML.
This works on the current region."
(interactive "r")
(save-restriction
(save-restriction
(narrow-to-region start end)
(goto-char (point-min))
(while (search-forward "&" nil t) (replace-match "&amp;" nil t))

View File

@ -4,7 +4,7 @@
# key: x-dired
# --
;; idiom for processing a list of files in dired's marked files
;; suppose myProcessFile is your function that takes a file path
;; and do some processing on the file

View File

@ -7,7 +7,7 @@
"Replace “<” to “&lt;” and other chars in HTML.
This works on the current region."
(interactive "r")
(save-restriction
(save-restriction
(narrow-to-region start end)
(goto-char (point-min))
(while (search-forward "&" nil t) (replace-match "&amp;" nil t))

View File

@ -1,6 +1,6 @@
# -*- mode: snippet -*-
# contributor : Jimmy Wu <frozenthrone88@gmail.com>
# name:<script type="text/javascript">...</script>
# name:<script type="text/javascript">...</script>
# --
<script type="text/javascript">
$0

View File

@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# contributor : Jimmy Wu <frozenthrone88@gmail.com>
# name:<script type="text/javascript" src="..."></script>
# name:<script type="text/javascript" src="..."></script>
# --
<script type="text/javascript" src="$1"></script>

View File

@ -5,4 +5,4 @@
\IF {$${1:cond}$}
$0
\ELSE
\ENDIF
\ENDIF

View File

@ -10,6 +10,6 @@
]{4in}{4in}{${2:video file}}
\movieref[rate=3]{test}{Play Fast}
\movieref[rate=1]{test}{Play Normal Speed}
\movieref[rate=1]{test}{Play Normal Speed}
\movieref[rate=0.2]{test}{Play Slow}
\movieref[resume]{test}{Pause/Resume}

View File

@ -3,6 +3,6 @@
# key: sf
# --
\subfigure[${1:caption}]{
\label{fig:${2:label}}
\label{fig:${2:label}}
\includegraphics[width=.${3:3}\textwidth]{${4:path}}}
$0

View File

@ -5,7 +5,7 @@
\begin{figure}[ht]
\centering
\subfigure[$1]
{\label{fig:${2:label}}
{\label{fig:${2:label}}
\includegraphics[width=.${3:5}\textwidth]{${4:path}}}
\caption{${5:caption}}

View File

@ -3,7 +3,7 @@
# key: do
# --
(do ((${1:var1} ${2:init-form} ${3:step-form})
(${4:var2} ${5:init-form} ${6:step-form}))
(${4:var2} ${5:init-form} ${6:step-form}))
(${7:condition} ${8:return-value})
(${9:body}))
$0

View File

@ -4,6 +4,6 @@
# --
(cond (${1:case1} (${2:do-this}))
(${3:case2} (${4:do-this}))
(${3:case2} (${4:do-this}))
(t ${5:default}))
$0

View File

@ -2,7 +2,7 @@
# name: dot
# key: dot_
# --
#+begin_src dot :file ${1:file} :cmdline -T${2:pdf} :exports none :results silent
#+begin_src dot :file ${1:file} :cmdline -t${2:pdf} :exports none :results silent
$0
#+end_src
[[file:${3:path}]]

View File

@ -1,7 +1,7 @@
# -*- mode: snippet -*-
# name: uml
# key: uml
# contributor : Robert O'connor
# contributor : Robert O'Connor
# --
#+begin_uml
$1

View File

@ -1,6 +1,6 @@
# -*- mode: snippet -*-
#Author : Jonas Bonèr <jonas@jonasboner.com>
# name: case pattern =>
# name: case pattern =>
# key: case
# --
case ${1:_} => $0

View File

@ -6,6 +6,6 @@
try {
$0
} catch {
case e: ${1:Throwable} =>
case e: ${1:Throwable} =>
${2:// TODO: handle exception}
}

View File

@ -2,10 +2,10 @@
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
# name: create table ...
# --
CREATE TABLE [${1:dbo}].[${2:TableName}]
CREATE TABLE [${1:dbo}].[${2:TableName}]
(
${3:Id} ${4:INT IDENTITY(1,1)} ${5:NOT NULL}
$0
CONSTRAINT [${6:PK_}] PRIMARY KEY ${7:CLUSTERED} ([$3])
CONSTRAINT [${6:PK_}] PRIMARY KEY ${7:CLUSTERED} ([$3])
)
GO

View File

@ -2,7 +2,7 @@
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
# name: create procedure ...
# --
CREATE PROCEDURE [${1:dbo}].[${2:Name}]
CREATE PROCEDURE [${1:dbo}].[${2:Name}]
(
$3 $4 = ${5:NULL} ${6:OUTPUT}
)