mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
set svn:eol-style to LF in all files
This commit is contained in:
parent
f3ff02272c
commit
c9d7153f4a
@ -1,6 +1,6 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <body>...</body>
|
#name : <body>...</body>
|
||||||
# --
|
# --
|
||||||
<body$1>
|
<body$1>
|
||||||
$0
|
$0
|
||||||
</body>
|
</body>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <br />
|
#name : <br />
|
||||||
# --
|
# --
|
||||||
<br />
|
<br />
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <code>...</code>
|
#name : <code>...</code>
|
||||||
# --
|
# --
|
||||||
<code>
|
<code>
|
||||||
$0
|
$0
|
||||||
</code>
|
</code>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <div id="...">...</div>
|
#name : <div id="...">...</div>
|
||||||
# --
|
# --
|
||||||
<div id="$1">
|
<div id="$1">
|
||||||
$0
|
$0
|
||||||
</div>
|
</div>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <div id="..." class="...">...</div>
|
#name : <div id="..." class="...">...</div>
|
||||||
# --
|
# --
|
||||||
<div id="$1" class="$2">
|
<div id="$1" class="$2">
|
||||||
$0
|
$0
|
||||||
</div>
|
</div>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name :<form method="..." id="..." action="..."></form>
|
#name :<form method="..." id="..." action="..."></form>
|
||||||
# --
|
# --
|
||||||
<form method="$1" id="$2" action="$3">
|
<form method="$1" id="$2" action="$3">
|
||||||
$0
|
$0
|
||||||
</form>
|
</form>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <head>...</head>
|
#name : <head>...</head>
|
||||||
# --
|
# --
|
||||||
<head>
|
<head>
|
||||||
$0
|
$0
|
||||||
</head>
|
</head>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <hr />
|
#name : <hr />
|
||||||
# --
|
# --
|
||||||
<hr />
|
<hr />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <a href="...">...</a>
|
#name : <a href="...">...</a>
|
||||||
# --
|
# --
|
||||||
<a href="$1">$2</a>
|
<a href="$1">$2</a>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <html>...</html>
|
#name : <html>...</html>
|
||||||
# --
|
# --
|
||||||
<html>
|
<html>
|
||||||
$0
|
$0
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <html xmlns="...">...</html>
|
#name : <html xmlns="...">...</html>
|
||||||
# --
|
# --
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}">
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}">
|
||||||
$0
|
$0
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <img src="..." class="..." alt="..." />
|
#name : <img src="..." class="..." alt="..." />
|
||||||
# --
|
# --
|
||||||
<img src="$1" class="$2" alt="$3" />
|
<img src="$1" class="$2" alt="$3" />
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <input ... />
|
#name : <input ... />
|
||||||
# --
|
# --
|
||||||
<input type="$1" name="$2" value="$3" />
|
<input type="$1" name="$2" value="$3" />
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <link stylesheet="..." />
|
#name : <link stylesheet="..." />
|
||||||
# --
|
# --
|
||||||
<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" />
|
<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" />
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <!--[if IE]><link stylesheet="..." /><![endif]-->
|
#name : <!--[if IE]><link stylesheet="..." /><![endif]-->
|
||||||
# --
|
# --
|
||||||
<!--[if IE]>
|
<!--[if IE]>
|
||||||
<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" />
|
<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" />
|
||||||
<![endif]-->
|
<![endif]-->
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <a href="mailto:...@...">...</a>
|
#name : <a href="mailto:...@...">...</a>
|
||||||
# --
|
# --
|
||||||
<a href="mailto:$1@$2">$0</a>
|
<a href="mailto:$1@$2">$0</a>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <p>...</p>
|
#name : <p>...</p>
|
||||||
# --
|
# --
|
||||||
<p>$1</p>
|
<p>$1</p>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <pre>...</pre>
|
#name : <pre>...</pre>
|
||||||
# --
|
# --
|
||||||
<pre>
|
<pre>
|
||||||
$0
|
$0
|
||||||
</pre>
|
</pre>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <blockquote>...</blockquote>
|
#name : <blockquote>...</blockquote>
|
||||||
# --
|
# --
|
||||||
<blockquote>
|
<blockquote>
|
||||||
$1
|
$1
|
||||||
</blockquote>
|
</blockquote>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name :<script type="text/javascript">...</script>
|
#name :<script type="text/javascript">...</script>
|
||||||
# --
|
# --
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$0
|
$0
|
||||||
</script>
|
</script>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#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>
|
<script type="text/javascript" src="$1"></script>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <span>...</span>
|
#name : <span>...</span>
|
||||||
# --
|
# --
|
||||||
<span>$1</span>
|
<span>$1</span>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <span id="...">...</span>
|
#name : <span id="...">...</span>
|
||||||
# --
|
# --
|
||||||
<span id="$1">$2</span>
|
<span id="$1">$2</span>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <style type="text/css" media="...">...</style>
|
#name : <style type="text/css" media="...">...</style>
|
||||||
# --
|
# --
|
||||||
<style type="text/css" media="${1:screen}">
|
<style type="text/css" media="${1:screen}">
|
||||||
$0
|
$0
|
||||||
</style>
|
</style>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <textarea ...></textarea>
|
#name : <textarea ...></textarea>
|
||||||
# --
|
# --
|
||||||
<textarea name="$1" id="$2" rows="$3" cols="$4" tabindex="$5"></textarea>
|
<textarea name="$1" id="$2" rows="$3" cols="$4" tabindex="$5"></textarea>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
|
||||||
#name : <title>...</title>
|
#name : <title>...</title>
|
||||||
# --
|
# --
|
||||||
<title>$1</title>
|
<title>$1</title>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <body>...</body>
|
#name : <body>...</body>
|
||||||
# --
|
# --
|
||||||
<body$1>
|
<body$1>
|
||||||
$0
|
$0
|
||||||
</body>
|
</body>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <br />
|
#name : <br />
|
||||||
# --
|
# --
|
||||||
<br />
|
<br />
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <code>...</code>
|
#name : <code>...</code>
|
||||||
# --
|
# --
|
||||||
<code>
|
<code>
|
||||||
$0
|
$0
|
||||||
</code>
|
</code>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name :<form method="..." action="..."></form>
|
#name :<form method="..." action="..."></form>
|
||||||
# --
|
# --
|
||||||
<form method="$1" action="$2">
|
<form method="$1" action="$2">
|
||||||
$0
|
$0
|
||||||
</form>
|
</form>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <head>...</head>
|
#name : <head>...</head>
|
||||||
# --
|
# --
|
||||||
<head>
|
<head>
|
||||||
$0
|
$0
|
||||||
</head>
|
</head>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <hr />
|
#name : <hr />
|
||||||
# --
|
# --
|
||||||
<hr />
|
<hr />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <a href="...">...</a>
|
#name : <a href="...">...</a>
|
||||||
# --
|
# --
|
||||||
<a href="$1">$2</a>
|
<a href="$1">$2</a>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <html xmlns="...">...</html>
|
#name : <html xmlns="...">...</html>
|
||||||
# --
|
# --
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}">
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}">
|
||||||
$0
|
$0
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <img src="..." alt="..." />
|
#name : <img src="..." alt="..." />
|
||||||
# --
|
# --
|
||||||
<img src="$1" alt="$2" />
|
<img src="$1" alt="$2" />
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <input ... />
|
#name : <input ... />
|
||||||
# --
|
# --
|
||||||
<input type="$1" name="$2" value="$3" />
|
<input type="$1" name="$2" value="$3" />
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <li>...</li>
|
#name : <li>...</li>
|
||||||
# --
|
# --
|
||||||
<li>$1</li>
|
<li>$1</li>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <link stylesheet="..." />
|
#name : <link stylesheet="..." />
|
||||||
# --
|
# --
|
||||||
<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" />
|
<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" />
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <a name="..."></a>
|
#name : <a name="..."></a>
|
||||||
# --
|
# --
|
||||||
<a name="$1"></a>
|
<a name="$1"></a>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <ol>...</ol>
|
#name : <ol>...</ol>
|
||||||
# --
|
# --
|
||||||
<ol>
|
<ol>
|
||||||
$0
|
$0
|
||||||
</ol>
|
</ol>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <p>...</p>
|
#name : <p>...</p>
|
||||||
# --
|
# --
|
||||||
<p>$1</p>
|
<p>$1</p>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <pre>...</pre>
|
#name : <pre>...</pre>
|
||||||
# --
|
# --
|
||||||
<pre>
|
<pre>
|
||||||
$0
|
$0
|
||||||
</pre>
|
</pre>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <blockquote>...</blockquote>
|
#name : <blockquote>...</blockquote>
|
||||||
# --
|
# --
|
||||||
<blockquote>
|
<blockquote>
|
||||||
$1
|
$1
|
||||||
</blockquote>
|
</blockquote>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <span>...</span>
|
#name : <span>...</span>
|
||||||
# --
|
# --
|
||||||
<span>$1</span>
|
<span>$1</span>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <style type="text/css" media="...">...</style>
|
#name : <style type="text/css" media="...">...</style>
|
||||||
# --
|
# --
|
||||||
<style type="text/css" media="${1:screen}">
|
<style type="text/css" media="${1:screen}">
|
||||||
$0
|
$0
|
||||||
</style>
|
</style>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <table>...</table>
|
#name : <table>...</table>
|
||||||
# --
|
# --
|
||||||
<table>
|
<table>
|
||||||
$0
|
$0
|
||||||
</table>
|
</table>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <td>...</td>
|
#name : <td>...</td>
|
||||||
# --
|
# --
|
||||||
<td$1>$2</td>
|
<td$1>$2</td>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <th>...</th>
|
#name : <th>...</th>
|
||||||
# --
|
# --
|
||||||
<th$1>$2</th>
|
<th$1>$2</th>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <title>...</title>
|
#name : <title>...</title>
|
||||||
# --
|
# --
|
||||||
<title>$1</title>
|
<title>$1</title>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <tr>...</tr>
|
#name : <tr>...</tr>
|
||||||
# --
|
# --
|
||||||
<tr>
|
<tr>
|
||||||
$0
|
$0
|
||||||
</tr>
|
</tr>
|
@ -1,6 +1,6 @@
|
|||||||
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
#contributor : Anders Bach Nielsen <abachn@abachn.net>
|
||||||
#name : <ul>...</ul>
|
#name : <ul>...</ul>
|
||||||
# --
|
# --
|
||||||
<ul>
|
<ul>
|
||||||
$0
|
$0
|
||||||
</ul>
|
</ul>
|
@ -1,33 +1,33 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# name: defm
|
# name: defm
|
||||||
# contributor: Yasser Gonz¨¢lez Fern¨¢ndez <yglez@uh.cu>
|
# contributor: Yasser Gonz¨¢lez Fern¨¢ndez <yglez@uh.cu>
|
||||||
# --
|
# --
|
||||||
def ${1:name}(self, $2):
|
def ${1:name}(self, $2):
|
||||||
"""$3
|
"""$3
|
||||||
${2:$
|
${2:$
|
||||||
(let* ((indent
|
(let* ((indent
|
||||||
(concat "\n" (make-string (current-column) 32)))
|
(concat "\n" (make-string (current-column) 32)))
|
||||||
(args
|
(args
|
||||||
(mapconcat
|
(mapconcat
|
||||||
'(lambda (x)
|
'(lambda (x)
|
||||||
(if (not (string= (nth 0 x) ""))
|
(if (not (string= (nth 0 x) ""))
|
||||||
(concat "- " (char-to-string 96) (nth 0 x)
|
(concat "- " (char-to-string 96) (nth 0 x)
|
||||||
(char-to-string 96) ":")))
|
(char-to-string 96) ":")))
|
||||||
(mapcar
|
(mapcar
|
||||||
'(lambda (x)
|
'(lambda (x)
|
||||||
(mapcar
|
(mapcar
|
||||||
'(lambda (x)
|
'(lambda (x)
|
||||||
(replace-regexp-in-string "[[:blank:]]*$" ""
|
(replace-regexp-in-string "[[:blank:]]*$" ""
|
||||||
(replace-regexp-in-string "^[[:blank:]]*" "" x)))
|
(replace-regexp-in-string "^[[:blank:]]*" "" x)))
|
||||||
x))
|
x))
|
||||||
(mapcar '(lambda (x) (split-string x "="))
|
(mapcar '(lambda (x) (split-string x "="))
|
||||||
(split-string text ",")))
|
(split-string text ",")))
|
||||||
indent)))
|
indent)))
|
||||||
(if (string= args "")
|
(if (string= args "")
|
||||||
(make-string 3 34)
|
(make-string 3 34)
|
||||||
(mapconcat
|
(mapconcat
|
||||||
'identity
|
'identity
|
||||||
(list "" "Arguments:" args (make-string 3 34))
|
(list "" "Arguments:" args (make-string 3 34))
|
||||||
indent)))
|
indent)))
|
||||||
}
|
}
|
||||||
$0
|
$0
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#contributor : Julio Carlos Menendez <godinblack@gmail.com>
|
#contributor : Julio Carlos Menendez <godinblack@gmail.com>
|
||||||
#name : _get_foo ... foo=property(...)
|
#name : _get_foo ... foo=property(...)
|
||||||
# --
|
# --
|
||||||
def _get_${1:foo}(self):
|
def _get_${1:foo}(self):
|
||||||
return self._$1
|
return self._$1
|
||||||
|
|
||||||
$1 = property(_get_$1)
|
$1 = property(_get_$1)
|
||||||
|
|
||||||
$0
|
$0
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
#contributor : Julio Carlos Menendez <godinblack@gmail.com>
|
#contributor : Julio Carlos Menendez <godinblack@gmail.com>
|
||||||
#name : _get_foo ... _set_foo ... foo=property(...)
|
#name : _get_foo ... _set_foo ... foo=property(...)
|
||||||
# --
|
# --
|
||||||
def _set_${1:foo}(self, value):
|
def _set_${1:foo}(self, value):
|
||||||
self._$1 = value
|
self._$1 = value
|
||||||
|
|
||||||
def _get_$1(self):
|
def _get_$1(self):
|
||||||
return self._$1
|
return self._$1
|
||||||
|
|
||||||
$1 = property(_get_$1, _set_$1)
|
$1 = property(_get_$1, _set_$1)
|
||||||
|
|
||||||
$0
|
$0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user