Last commit before tagging and releasing

This commit is contained in:
capitaomorte 2009-08-29 17:59:02 +00:00
parent 15c7703b5b
commit b8dcf61367
640 changed files with 4360 additions and 77 deletions

View File

@ -9,17 +9,23 @@ end
find_version
FileUtils.mkdir_p('pkg')
desc "generate the bundle file."
desc "generate bundle file for classic snippets."
task :bundle do
sh 'emacs --batch -l yasnippet.el --eval "(yas/compile-bundle)"'
sh "tar czf pkg/yasnippet-bundle-#{$version}.el.tgz yasnippet-bundle.el"
end
desc "generate bundle file for textmate snippets."
task :textmate_bundle do
sh 'emacs --batch -l yasnippet.el --eval "(yas/compile-textmate-bundle)"'
sh "tar czf pkg/yasnippet-textmate-bundle-#{$version}.el.tgz yasnippet-textmate-bundle.el"
end
desc "create a release package"
task :package do
release_dir = "pkg/yasnippet-#{$version}"
FileUtils.mkdir_p(release_dir)
files = ['snippets', 'yasnippet.el', 'dropdown-list.el']
files = ['extras', 'snippets', 'yasnippet.el', 'dropdown-list.el']
FileUtils.cp_r files, release_dir
FileUtils.rm_r Dir[release_dir + "/**/.svn"]
FileUtils.cd 'pkg'

View File

@ -7,24 +7,25 @@ ChangeLog
.. _Writing Snippets: snippet-development.html
.. _The YASnippet Menu: snippet-menu.html
**Upcoming** release:
0.6.1b / 2009-08-29
===================
* Much more powerful menu. See `The YASnippet menu`_.
* New ways to organize snippets. See `Organizing snippets`_.
* Added ``yas/also-auto-indent-first-line`` customization variable.
* Renamed directive ``# env:`` to ``# expand-env:``
* Rewrote much of the documentation.
* Added ``textmate-import.rb`` to svn repository.
* Many random bugs fixed.
* Added TextMate import tool ``textmate-import.rb`` to to svn
repository (see "extras/")
* Added *experimental* bundle of textmate snippets
``yasnippet-textmate-bundle.el``
* Fixed `Issue 72
<http://code.google.com/p/yasnippet/issues/detail?id=72>`_ (thanks
rmartin.k...@gmail.com)
* Fixed `Issue 74
<http://code.google.com/p/yasnippet/issues/detail?id=74>`_
* Fixed `Issue 70
<http://code.google.com/p/yasnippet/issues/detail?id=70>`_
* Fixed `Issue 69
<http://code.google.com/p/yasnippet/issues/detail?id=69>`_
* Fixed `Issues 80 through 84
<http://code.google.com/p/yasnippet/issues/detail?id=80>`_ (thanks
Moritz Bunkus)
* Fixed many more issues...
0.6.0c / 2009-07-27

View File

@ -1 +0,0 @@
doc/index.html

68
doc/define_snippet.html Normal file
View File

@ -0,0 +1,68 @@
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" />
<title>Moved</title>
<meta content="3; URL=index.html" http-equiv="Refresh" />
<link rel="stylesheet" href="styles.css" type="text/css" />
</head>
<body>
<div class="document" id="moved">
<div id="header-region" class="clear-block"></div>
<div id="wrapper">
<div id="container" class="clear-block">
<div id="header">
<div id="logo-floater">
<h1 class="title">Moved</h1>
</div>
<ul class="primary-links">
<li>
<a title="" href="index.html">Intro and tutorial</a>
</li>
<li>
<a title="" href="snippet-organization.html">Howto: organize</a>
</li>
<li>
<a title="" href="snippet-expansion.html">Howto: expand</a>
</li>
<li>
<a title="" href="snippet-development.html">Howto: write </a>
</li>
<li>
<a title="" href="snippet-menu.html">Howto: menu </a>
</li>
<li>
<a title="" href="faq.html">FAQ</a>
</li>
<li>
<a title="" href="changelog.html">ChangeLog</a>
</li>
<li>
<a title="" href="http://code.google.com/p/yasnippet/downloads/list">Download</a>
</li>
</ul>
</div>
<div id="center">
<div id="squeeze">
<div class="right-corner">
<div class="left-corner">
<p>
<b>Important:</b> This documentation applies to
the <b>SVN trunk</b> of YASnippet, which you
get <a href="http://code.google.com/p/yasnippet/source/checkout">here</a>. Documentation
for other versions can be found <a title=""
href="http://code.google.com/p/yasnippet/downloads/list">here</a>.
</p>
<p>This page has been moved. Click <a class="reference external" href="index.html">here</a> if your browser
does not automatically redirect you</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

9
doc/define_snippet.rst Normal file
View File

@ -0,0 +1,9 @@
=====
Moved
=====
.. meta::
:http-equiv=Refresh: 3; URL=index.html
This page has been moved. Click `here <index.html>`_ if your browser
does not automatically redirect you

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor: Translated from TextMate Snippet
# name: Command — \command{…}
# binding: "^E"
# --
\\${1:text${2:bf}}{`yas/selected-text`}

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: figure
# contributor: Translated from TextMate Snippet
# name: Figure
# --
${1:Figure}~\ref{${2:fig:}}$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: listing
# contributor: Translated from TextMate Snippet
# name: Listing
# --
${1:Listing}~\ref{${2:lst:}}$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: page
# contributor: Translated from TextMate Snippet
# name: Page
# --
${1:page}~\pageref{$2}$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: section
# contributor: Translated from TextMate Snippet
# name: Section
# --
${1:Section}~\ref{${2:sec:}}$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: table
# contributor: Translated from TextMate Snippet
# name: Table
# --
${1:Table}~\ref{${2:tab:}}$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor: Translated from TextMate Snippet
# name: Beamer Overlay Specification
# binding: "^<"
# --
<${1:+-}>

View File

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# key: begin
# contributor: Translated from TextMate Snippet
# name: \begin{}…\end{}
# --
\\begin{${1:env}}
${1/(enumerate|itemize|list)|(description)|.*/(?1:\item )(?2:\item)/}$0
\\end{${1:env}}

View File

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# key: desc
# contributor: Translated from TextMate Snippet
# name: Description
# --
\\begin{description}
\item[$1] $0
\\end{description}

View File

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# key: enum
# contributor: Translated from TextMate Snippet
# name: Enumerate
# --
\\begin{enumerate}
\item $0
\\end{enumerate}

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: itd
# contributor: Translated from TextMate Snippet
# name: \item[description]
# --
\\item[${1:description}] ${0:item}

View File

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# key: item
# contributor: Translated from TextMate Snippet
# name: Itemize
# --
\\begin{itemize}
\item $0
\\end{itemize}

View File

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor: Translated from TextMate Snippet
# name: Itemize Lines in Selection
# binding: "^L"
# --
\begin{${1:itemize}}
${TM_SELECTED_TEXT/^(([^\\]*):\s*)?(.+)$/\n\t\item(?1: [ $2 ]) $3/g}
\end{${1:itemize}}

View File

@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# key: ali
# contributor: Translated from TextMate Snippet
# name: Align(ed)
# --
\begin{align`echo $TM_SCOPE|grep math|
sed -e 's/.*math.*/ed/'`}
$0
\end{align`echo $TM_SCOPE|grep math|
sed -e 's/.*math.*/ed/'`}

View File

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# key: cas
# contributor: Translated from TextMate Snippet
# name: Cases
# --
\begin{cases}
${1:equation}, &\text{ if }${2:case}\\\\
$0
\end{cases}

View File

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# key: eq
# contributor: Translated from TextMate Snippet
# name: Equation
# --
\begin{equation}
$0
\end{equation}

View File

@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# key: gat
# contributor: Translated from TextMate Snippet
# name: Gather(ed)
# --
\begin{gather`echo $TM_SCOPE|grep math|
sed -e 's/.*math.*/ed/'`}
$0
\end{gather`echo $TM_SCOPE|grep math|
sed -e 's/.*math.*/ed/'`}

View File

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# key: mat
# contributor: Translated from TextMate Snippet
# name: Matrix
# --
\begin{${1:p/b/v/V/B/small}matrix}
$0
\end{${1:p/b/v/V/B/small}matrix}

View File

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# key: spl
# contributor: Translated from TextMate Snippet
# name: Split
# --
\begin{split}
$0
\end{split}

View File

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor: Translated from TextMate Snippet
# name: Unnumbered Equation
# binding: "^["
# --
\\[
$0
\\]

View File

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# key: cha
# contributor: Translated from TextMate Snippet
# name: Chapter
# --
\chapter{${1:chapter name}} % (fold)
\label{cha:${2:${1/\\\w+\{(.*?)\}|\\(.)|(\w+)|([^\w\\]+)/(?4:_:\L$1$2$3)/g}}}
`yas/selected-text`$0
% chapter $2 (end)

View File

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# key: par
# contributor: Translated from TextMate Snippet
# name: Paragraph
# --
\paragraph{${1:paragraph name}} % (fold)
\label{par:${2:${1/\\\w+\{(.*?)\}|\\(.)|(\w+)|([^\w\\]+)/(?4:_:\L$1$2$3)/g}}}
`yas/selected-text`$0
% paragraph $2 (end)

View File

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# key: part
# contributor: Translated from TextMate Snippet
# name: Part
# --
\part{${1:part name}} % (fold)
\label{prt:${2:${1/(\w+)|\W+/(?1:\L$0:_)/g}}}
`yas/selected-text`$0
% part $2 (end)

View File

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# key: subp
# contributor: Translated from TextMate Snippet
# name: Sub Paragraph
# --
\subparagraph{${1:subparagraph name}} % (fold)
\label{subp:${2:${1/\\\w+\{(.*?)\}|\\(.)|(\w+)|([^\w\\]+)/(?4:_:\L$1$2$3)/g}}}
`yas/selected-text`$0
% subparagraph $2 (end)

View File

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# key: sec
# contributor: Translated from TextMate Snippet
# name: Section
# --
\section{${1:section name}} % (fold)
\label{sec:${2:${1/\\\w+\{(.*?)\}|\\(.)|(\w+)|([^\w\\]+)/(?4:_:\L$1$2$3)/g}}}
`yas/selected-text`$0
% section $2 (end)

View File

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# key: sub
# contributor: Translated from TextMate Snippet
# name: Sub Section
# --
\subsection{${1:subsection name}} % (fold)
\label{sub:${2:${1/\\\w+\{(.*?)\}|\\(.)|(\w+)|([^\w\\]+)/(?4:_:\L$1$2$3)/g}}}
`yas/selected-text`$0
% subsection $2 (end)

View File

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# key: subs
# contributor: Translated from TextMate Snippet
# name: Sub Sub Section
# --
\subsubsection{${1:subsubsection name}} % (fold)
\label{ssub:${2:${1/\\\w+\{(.*?)\}|\\(.)|(\w+)|([^\w\\]+)/(?4:_:\L$1$2$3)/g}}}
`yas/selected-text`$0
% subsubsection $2 (end)

View File

@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# contributor: Translated from TextMate Snippet
# name: Add Row
# binding: ""
# --
\\\\
$0${TM_CURRENT_LINE/^[^&]+|[^&]+$|([^&]+)/ (?1: )/g}

View File

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# key: tab
# contributor: Translated from TextMate Snippet
# name: Tabular
# --
\\begin{${1:t}${1/(t)$|(a)$|(.*)/(?1:abular)(?2:rray)/}}{${2:c}}
$0${2/((?<=.)c|l|r)|./(?1: & )/g}
\\end{${1:t}${1/(t)$|(a)$|(.*)/(?1:abular)(?2:rray)/}}

View File

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# key: $$
# contributor: Translated from TextMate Snippet
# name: Display Math — \[ … \]
# binding: "^M"
# --
\[
`yas/selected-text`$1
\]

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor: Translated from TextMate Snippet
# name: Math Mode — \( … \)
# binding: "^M"
# --
\( `yas/selected-text`$1 \)

View File

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor: Translated from TextMate Snippet
# name: Environment — \begin{}…\end{}
# binding: "^@W"
# --
${TM_SELECTED_TEXT/(\s*).*/$1/m}\begin{${1:environment}}
${TM_SELECTED_TEXT/(.+)|\n\z/(?1:\t$0)/g}
${TM_SELECTED_TEXT/(\s*).*/$1/m}\end{${1:environment}}

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor: Translated from TextMate Snippet
# name: left…right — \left…\right
# binding: "^L"
# --
${TM_SELECTED_TEXT/(.*)(.)/\\left$1\\right$2/}

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor: Translated from TextMate Snippet
# name: Double Quotes
# binding: "^`"
# --
\`\``yas/selected-text`''

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor: Translated from TextMate Snippet
# name: #endif
# binding: "~@."
# --
#endif

View File

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# key: def
# contributor: Translated from TextMate Snippet
# name: #ifndef … #define … #endif
# --
#ifndef ${1/([A-Za-z0-9_]+).*/$1/}
#define ${1:SYMBOL} ${2:value}
#endif

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: inc
# contributor: Translated from TextMate Snippet
# name: #include "…"
# --
#include "${1:${TM_FILENAME/\..+$/.h/}}"

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: Inc
# contributor: Translated from TextMate Snippet
# name: #include <…>
# --
#include <${1:.h}>

View File

@ -0,0 +1,11 @@
# -*- mode: snippet -*-
# key: mark
# contributor: Translated from TextMate Snippet
# name: #pragma mark
# --
#if 0
${1:#pragma mark -
}#pragma mark $2
#endif
$0

View File

View File

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# key: for
# contributor: Translated from TextMate Snippet
# name: For Loop
# --
for(size_t ${2:i} = 0; $2 < ${1:count}; ${3:++$2})
{
${0:/* code */}
}

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: enum
# contributor: Translated from TextMate Snippet
# name: Enumeration
# --
enum ${1:name} { $0 };

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: td
# contributor: Translated from TextMate Snippet
# name: Typedef
# --
typedef ${1:int} ${2:MyCustomType};

View File

@ -0,0 +1,14 @@
# -*- mode: snippet -*-
# key: cl
# contributor: Translated from TextMate Snippet
# name: Class
# --
class ${1:${TM_FILENAME/(.+)\..+|.*/(?1:\L$1_t:name)/}}
{
public:
${1/(\w+).*/$1/} (${2:arguments});
virtual ~${1/(\w+).*/$1/} ();
private:
${0:/* data */}
};

View File

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# key: do
# contributor: Translated from TextMate Snippet
# name: Do While Loop
# --
do {
${0:/* code */}
} while(${1:/* condition */});

View File

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# key: if
# contributor: Translated from TextMate Snippet
# name: If Condition
# --
if(${1:/* condition */})
{
${0:/* code */}
}

View File

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# key: ns
# contributor: Translated from TextMate Snippet
# name: Namespace
# --
namespace${1/.+/ /m}${1:${TM_FILENAME/^((.*?)\..*)?$/(?1:\L$2:my)/}}
{
$0
}${1/.+/ \/* /m}$1${1/.+/ *\/ /m}

View File

@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# key: st
# contributor: Translated from TextMate Snippet
# name: Struct
# --
struct ${1:${TM_FILENAME/(.+)\..+|.*/(?1:\L$1_t:name)/}}
{
${0:/* data */}
};

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: tp
# contributor: Translated from TextMate Snippet
# name: template <typename …>
# --
template <typename ${1:_InputIter}>

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: beginend
# contributor: Translated from TextMate Snippet
# name: $1.begin(), $1.end()
# --
${1:v}${1/^.*?(-)?(>)?$/(?2::(?1:>:.))/}begin(), ${1:v}${1/^.*?(-)?(>)?$/(?2::(?1:>:.))/}end()

View File

@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# key: main
# contributor: Translated from TextMate Snippet
# name: main()
# --
int main (int argc, char const${TM_C_POINTER: *}argv[])
{
${0:/* code */}
return 0;
}

View File

@ -0,0 +1,17 @@
# -*- mode: snippet -*-
# key: once
# contributor: Translated from TextMate Snippet
# name: Header Include-Guard
# --
#ifndef ${1:`#!/usr/bin/env ruby -wKU -riconv
name = ENV["TM_FILENAME"] || "untitled"
name = Iconv.iconv("ASCII//TRANSLIT", "UTF-8", name).first
name = name.gsub(/[^a-z0-9]+/i, "_")
uuid = (rand * 2821109907455).round.to_s(36)
print "#{name}_#{uuid}".tr("[a-z]", "[A-Z]")
`}
#define $1
${TM_SELECTED_TEXT/\Z\n//}${0:}
#endif /* end of include guard: $1 */

View File

@ -0,0 +1,13 @@
# -*- mode: snippet -*-
# key: readfile
# contributor: Translated from TextMate Snippet
# name: Read File Into Vector
# --
std::vector<char> v;
if(FILE${TM_C_POINTER: *}fp = fopen(${1:"filename"}, "r"))
{
char buf[1024];
while(size_t len = fread(buf, 1, sizeof(buf), fp))
v.insert(v.end(), buf, buf + len);
fclose(fp);
}

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: fprintf
# contributor: Translated from TextMate Snippet
# name: fprintf …
# --
fprintf(${1:stderr}, "${2:%s}\\n"${2/([^%]|%%)*(%.)?.*/(?2:, :\);)/}$3${2/([^%]|%%)*(%.)?.*/(?2:\);)/}

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: printf
# contributor: Translated from TextMate Snippet
# name: printf …
# --
printf("${1:%s}\\n"${1/([^%]|%%)*(%.)?.*/(?2:, :\);)/}$2${1/([^%]|%%)*(%.)?.*/(?2:\);)/}

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: map
# contributor: Translated from TextMate Snippet
# name: std::map
# --
std::map<${1:key}, ${2:value}> map$0;

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: vector
# contributor: Translated from TextMate Snippet
# name: std::vector
# --
std::vector<${1:char}> v$0;

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: background
# contributor: Translated from TextMate Snippet
# name: background-attachment: scroll/fixed
# --
background-attachment: ${1:scroll/fixed};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: background
# contributor: Translated from TextMate Snippet
# name: background-color: hex
# --
background-color: #${1:DDD};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: background
# contributor: Translated from TextMate Snippet
# name: background-color: name
# --
background-color: ${1:red};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: background
# contributor: Translated from TextMate Snippet
# name: background-color: rgb
# --
background-color: rgb(${1:255},${2:255},${3:255});$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: background
# contributor: Translated from TextMate Snippet
# name: background-color: transparent
# --
background-color: transparent;$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: background
# contributor: Translated from TextMate Snippet
# name: background-image: none
# --
background-image: none;$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: background
# contributor: Translated from TextMate Snippet
# name: background-image: url
# --
background-image: url($1);$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: background
# contributor: Translated from TextMate Snippet
# name: background-position: position
# --
background-position: ${1:top left/top center/top right/center left/center center/center right/bottom left/bottom center/bottom right/x-% y-%/x-pos y-pos};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: background
# contributor: Translated from TextMate Snippet
# name: background-repeat: r/r-x/r-y/n-r
# --
background-repeat: ${1:repeat/repeat-x/repeat-y/no-repeat};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: background
# contributor: Translated from TextMate Snippet
# name: background: color image repeat attachment position
# --
background:${6: #${1:DDD}} url($2) ${3:repeat/repeat-x/repeat-y/no-repeat} ${4:scroll/fixed} ${5:top left/top center/top right/center left/center center/center right/bottom left/bottom center/bottom right/x-% y-%/x-pos y-pos};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-bottom-color: color
# --
border-bottom-color: #${1:999};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-bottom-style: style
# --
border-bottom-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-bottom-width: size
# --
border-bottom-width: ${1:1}px ${2:solid} #${3:999};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-bottom: size style color
# --
border-bottom: ${1:1}px ${2:solid} #${3:999};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-color: color
# --
border-color: ${1:999};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-left-color: color
# --
border-right-color: #${1:999};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-left-style: style
# --
border-left-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-left-width: size
# --
border-left-width: ${1:1}px

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-left: size style color
# --
border-left: ${1:1}px ${2:solid} #${3:999};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-right-color: color
# --
border-right-color: #${1:999};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-right-style: style
# --
border-right-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-right-width: size
# --
border-right-width: ${1:1}px

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-right: size style color
# --
border-right: ${1:1}px ${2:solid} #${3:999};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-style: style
# --
border-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-top-color: color
# --
border-top-color: #${1:999};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-top-style: style
# --
border-top-style: ${1:none/hidden/dotted/dashed/solid/double/groove/ridge/inset/outset};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-top-width: size
# --
border-top-width: ${1:1}px

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-top: size style color
# --
border-top: ${1:1}px ${2:solid} #${3:999};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border-width: size
# --
border-width: ${1:1px};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: border
# contributor: Translated from TextMate Snippet
# name: border: size style color
# --
border: ${1:1px} ${2:solid} #${3:999};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: color
# contributor: Translated from TextMate Snippet
# name: color: hex
# --
color: #${1:DDD};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: color
# contributor: Translated from TextMate Snippet
# name: color: name
# --
color: ${1:red};$0

View File

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# key: color
# contributor: Translated from TextMate Snippet
# name: color: rgb
# --
color: rgb(${1:255},${2:255},${3:255});$0

Some files were not shown because too many files have changed in this diff Show More