Skip to content

Instantly share code, notes, and snippets.

@surajitbasak109
Last active January 23, 2017 07:52
Show Gist options
  • Save surajitbasak109/daf3878786b67f7c64a5d93e55830dcd to your computer and use it in GitHub Desktop.
Save surajitbasak109/daf3878786b67f7c64a5d93e55830dcd to your computer and use it in GitHub Desktop.
# Geany's snippets configuration file
# use \n or %newline% for a new line (it will be replaced by the used EOL char(s) - LF, CR/LF, CR)
# use \t ot %ws% for an indentation step, if using only spaces for indentation only spaces will be used
# use \s to force whitespace at beginning or end of a value ('key= value' won't work, use 'key=\svalue')
# use %cursor% to define where the cursor should be placed after completion
# use %key% for all keys defined in the [Special] section
# you can define a section for each supported filetype to overwrite default settings, the section
# name must match exactly the internal filetype name, run 'geany --ft-names' for a full list
# filetype names:
# C, C++, D, Java, Pascal, ASM, Fortran, CAML, Haskell, VHDL, Perl, PHP, Javascript, Python, Ruby,
# Tcl, Lua, Ferite, Sh, Make, O-Matrix, XML, Docbook, HTML, CSS, SQL, LaTeX, Diff, Conf, None
# Default is used for all filetypes and keys can be overwritten by [filetype] sections
[Default]
if=if (%cursor%)%brace_open%\n%brace_close%
else=else%brace_open%%cursor%\n%brace_close%
for=for (i = 0; i < %cursor%; i++)%brace_open%\n%brace_close%
while=while (%cursor%)%brace_open%\n%brace_close%
do=do%brace_open%%cursor%\n%brace_close% while ()
switch=switch (%cursor%)%brace_open%case : break;\n%ws%default: \n%brace_close%
try=try%block_cursor%catch ()%block%
[Special]
brace_open=\n{\n\t
brace_close=}\n
block=\n{\n\t\n}\n
block_cursor=\n{\n\t%cursor%\n}\n
wordchars=._abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
[C++]
for=for (int i = 0; i < %cursor%; i++)%brace_open%\n%brace_close%
[Java]
for=for (int i = 0; i < %cursor%; i++)%brace_open%\n%brace_close%
[Javascript]
jready=$(document).ready(function(){\n\t%cursor%\n});
jfunc=$(function() {\n\t%cursor%\n});
log=console.log('%cursor%');
[PHP]
# Little php snippets written by Atanas Beloborodov <[email protected]>
# Some php5 object`s usefull snippets
class=class %cursor% \n{\n\tpublic function __construct()\n\t{\t\n\n\t}\n\n\tpublic function __destruct()\n\t{\t\n\n\t}\n}
interface=interface %cursor% %block%
static=public static function %cursor%() %block%
public=public function %cursor%()%block%
protected=protected function %cursor%()%block%
private=private function %cursor%()%block%
#Control structures :
for=for ($i = 0; $i < %cursor%; $i++) %block%
while=while (%cursor%) %block%
if=if (%cursor%) %block%
switch=switch (%cursor%) {\n\tcase '';\n\n\tbreak;\n\n\tdefault :\n\n\tbreak;\n}\n
else=if (%cursor%) %block%else %block%
elseif=if (%cursor%) {\n\t\n}\nelseif () {\n\t\n}\nelse {\n\t\n}\n
do=do %block%while (%cursor%);
foreach=foreach (%cursor%) %block%
# Include methods
# Note : require and include is not functions ! Not required braces ()
req=require "%cursor%";
reqo=require_once "%cursor%";
inc=include "%cursor%";
inco=include_once "%cursor%";
# Others :
function=function %cursor%() %block%
def=define ('%cursor%','');
throw=throw new Exception ('%cursor%');e%
# html tag suppport on php
php=<?php %cursor% ?>
a=<a href="%cursor%"></a>
link=<a href="http://%cursor%"></a>
mail=<a href="mailto:%cursor%"></a>
abbr=<abbr title="%cursor%">%cursor%</abbr>
acr=<acronym title="%cursor%"></acronym>
base=<base href="%cursor%" />
basefont=<basefont/>
br=<br/>
frame=<frame/>
hr=<hr/>
link=<link rel="stylesheet" href="%cursor%" />
css=<link rel="stylesheet" href="%cursor%style.css" />
print=<link rel="stylesheet" href="%cursor%.css" media="print" />
favicon=<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
touch=<link rel="apple-touch-icon" href="${1:favicon.png}" />
rss=<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml" />
atom=<link rel="alternate" type="application/atom+xml" title="Atom" href="atom.xml" />
link:im|link:import=<link rel="import" href="component.html" />
meta=<meta/>;
utf=<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />;
win=<meta http-equiv="Content-Type" content="text/html;charset=windows-1251" />
vp=<meta name="viewport" content="width=device-width, user-scalable=no />
compat=<meta http-equiv="X-UA-Compatible" content="IE=7" />
style=<style>\n\t\n</style>
script=<script>\n\t\n</script>
script_src=<script src=""></script>
img=<img src="%cursor%" alt="%cursor%" />
iframe=<iframe src="%cursor%" frameborder="0">\n\t\n</iframe>
form=<form action="%cursor%">\n\t\n</form>
form_get=<form action="" method="get">\n\t\n</form>
form_post=<form action="%cursor%" method="post">\n\t\n</form>
label=<label for="%cursor%"></label>
input=<input type="text" />
inp=<input type="text" name="" id="" />
hidden=<input type="hidden" name="%cursor%" id="" />
text=<input type="text" name="%cursor%">
search=<input type="search" name="%cursor%">
email=<input type="email" name="%cursor%">
url=<input type="url" name="%cursor%">
password=<input type="password" name="%cursor%">
datetime=<input type="datetime" name="%cursor%">
date=<input type="date" name="%cursor%">
datetime-local=<input type="datetime-local" name="%cursor%">
month=<input type="month" name="%cursor%">
week=<input type="week" name="%cursor%">
time=<input type="time" name="%cursor%">
tel=<input type="tel" name="%cursor%">
number=<input type="number" name="%cursor%">
input_color=<input type="text" name="%cursor%">
checkbox=<input type="checkbox" name="%cursor%">
radio=<input type="radio" name="%cursor%">
range=<input type="range" name="%cursor%">
file=<input type="file" name="%cursor%">
submit=<input type="submit" value="" />
image=<input type="image" src="" alt="" />
ibutton=<input type="button" value="%cursor%" />
reset=input:button[type=reset]
select=<select name="%cursor%" id="">\n\t\n</select>
option=<option value="%cursor%"></option>
textarea=<textarea name="%cursor%" id=""></textarea>
marquee=<marquee behavior="" direction="">\n\t\n</marquee>
video=<video src="">\n\t\n</video>
audio=<audio src="">\n\t\n</video>
div=<div%cursor%>\n\t\n</div>
divc=<div class="%cursor%">\n\t\n</div>
divid=<div id="%cursor%">\n\t\n</div>
header=<header>\n\t\n</header>
section=<section>\n\t\n</section>
footer=<footer>\n\t\n</footer>
p=<p></p>
[Python]
utf8=#-*- coding: utf-8 -*-
for=for i in xrange(%cursor%):\n\t
doc=""" %cursor% """\n
elif=elif %cursor%:\n\t
else=else:\n\t%cursor%
if=if %cursor%:\n\t
from=from %cursor% import %cursor%\n
main=if __name__ == '__main__':\n\t%cursor%
class=class %cursor%(object):\n\t""" %cursor% """\n\t\n\tdef __init__ (self):\n\t\t""" Class initialiser """\n\t\tpass
def=def %cursor%(self):\n\t""" Function doc\n\n\t@param PARAM: DESCRIPTION\n\t@return RETURN: DESCRIPTION\n\t"""\n\t
get=def get%cursor%(self): return self._var\n
set=def set%cursor%(self): self._var = var\n
.=self.%cursor%
try=try:\n\t%cursor%\nexcept Exception, e:\n\t
py=#!/usr/bin/env python\n#-*- coding:utf-8 -*-\n\n%cursor%
while=while %cursor%:\n\t
with=with %cursor%:\n\t
head="""\n\t%cursor%PROJECT - MODULE\n\n\tDESCRIPTION\n\n\t@copyright: {year} by {developer} <{mail}>\n\t@license: GNU GPL, see COPYING for details.\n"""\n
p=print "%cursor%"
pr=print %cursor%
# Django models
# by Tomasz Karbownicki <[email protected]>
mclass=class %cursor%(models.Model):\n\t'''%cursor%'''\n\n\tdef __unicode__(self):\n\t\treturn self.XXXXX\n\n\tdef get_absolute_url(self):\n\t\treturn "/XXXXX/%s/" % self.slug\n\n\tclass Meta:\n\t\tverbose_name = "%cursor%"\n\t\tverbose_name_plural = "%cursor%"
mchar=%cursor% = models.CharField(max_length=50, verbose_name=u'%cursor%')
mint=%cursor% = models.IntegerField(verbose_name=u'%cursor%')
mtext=%cursor% = models.TextField(verbose_name=u'%cursor%')
mkey=%cursor% = models.ForeignKey(%cursor%, verbose_name=u'%cursor%')
mimage=%cursor% = models.ImageField(upload_to='', verbose_name=u'%cursor%')
mbool=%cursor% = models.BooleanField(verbose_name=u'%cursor%')
mdate=%cursor% = models.DateField(verbose_name=u'%cursor%', help_text='Format daty: 2009-04-28')
memail=%cursor% = models.EmailField(verbose_name=u'%cursor%')
murl=%cursor% = models.URLField(verbose_name=u'%cursor%')
mslug=%cursor% = models.SlugField(verbose_name=u'%cursor%', unique=True)
[Ferite]
iferr=iferr%block_cursor%fix%block%
monitor=monitor%block_cursor%handle%block%
[HTML]
[PHP]
# by Tomasz Karbownicki <[email protected]>
# top
html5=<!DOCTYPE html>\n<html lang="en">\n<head>\n\t<meta charset="utf-8" />\n\t<title>%cursor%</title>\n</head>\n<body>\n\t%cursor%\n</body>\n</html>
html=<html lang="%cursor%">\n\t%cursor%\n</html>
head=<head>\n\t%cursor%\n</head>
js=<script type="text/javascript">\n\t%cursor%\n</script>
js2=<script src="%cursor%" type="text/javascript"></script>
css=<style type="text/css">\n\t%cursor%\n</style>
css2=<link href="%cursor%" rel="stylesheet" type="text/css" />
rss=<link rel="alternate" type="application/rss+xml" title="%cursor%" href="%cursor%" />
title=<title>%cursor%</title>
utf=<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
ie7=<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
refresh=<meta http-equiv="refresh" content="2;url=%cursor%" />
body=<body>\n\t%cursor%\n</body>
# table
table=<table>\n\t<thead>\n\t\t<tr>\n\t\t\t<th>%cursor%</th>\n\t\t</tr>\n\t</thead>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td>%cursor%</td>\n\t\t</tr>\n\t</tbody>\n</table>
td=<td>%cursor%</td>
tr=<tr>%cursor%</tr>
th=<th>%cursor%</th>
caption=<caption>%cursor%</caption>
# form
form=<form action="%cursor%" method="post">\n\n\t<input type="submit" value="%cursor%" />\n</form>
formp=<form action="%cursor%" method="post">\n\n\t<p>{{ form.as_p }}</p>\n<p><input type="submit" value="%cursor%" /></p>\n</form>
label=<label for="%cursor%"></label>
input=<input type="text" name="%cursor%" value="%cursor%" id="%cursor%" />
pass=<input type="password" name="%cursor%" id="%cursor%" />
textarea=<textarea name="%cursor%" cols="50" rows="10" id="%cursor%" ></textarea>
select=<select name="%cursor%" id="%cursor%">\n\t<option value="%cursor%"></option>\n</select>
radio=<input type="radio" name="%cursor%" value="%cursor%" />
checkbox=<input type="checkbox" name="%cursor%" value="%cursor%" />
button=<button type="%cursor%">%cursor%</button>
fieldset=<fieldset>\n\t<legend>%cursor%</legend>\n</fieldset>
# list
ul=<ul class="%cursor%">\n\t<li>%cursor%</li>\n</ul>
ol=<ol class="%cursor%">\n\t<li>%cursor%</li>\n</ol>
li=<li>%cursor%</li>
dl=<dl class="%cursor%">\n\t<dt>%cursor%</dt>\n\t<dd>%cursor%</dd>\n</dl>
dt=<dt>%cursor%</dt>
dd=<dd>%cursor%</dd>
# inline
a=<a href="%cursor%">%cursor%</a>
i=<i>%cursor%</i>
span=<span>%cursor%</span>
em=<em>%cursor%</em>
small=<small>%cursor%</small>
big=<big>%cursor%</big>
cite=<cite>%cursor%</cite>
strong=<strong>%cursor%</strong>
img=<img src="%cursor%" alt="%cursor%" title="%cursor%" />
thumb=<a href="%cursor%"><img src="%cursor%" alt="%cursor%" title="%cursor%" /></a>
# block
div=<div class="%cursor%">%cursor%</div>
h1=<h1>%cursor%</h1>
h2=<h2>%cursor%</h2>
h3=<h3>%cursor%</h3>
h4=<h4>%cursor%</h4>
h5=<h5>%cursor%</h5>
h6=<h6>%cursor%</h6>
p=<p>%cursor%</p>
pre=<pre>\n%cursor%\n</pre>
code=<code>%cursor%</code>
prec=<pre><code>%cursor%</code></pre>
quote=<blockquote>\n\t<p>\n\t\t%cursor%\n\t</p>\n</blockquote>
# other
cl=class="%cursor%"
id=id="%cursor%"
cmt=<!--\n\t%cursor%\n-->
cmt2=<!-- %cursor% -->
br=<br/>
hr=<hr/>
1s=&nbsp;
3s=&nbsp;&nbsp;&nbsp;
7s=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
dummyimage=<img src="http://dummyimage.com/%cursor%x%cursor%/000/fff.png" alt="" title="" />
dummyimage2=<img src="http://lorempixel.com/%cursor%/%cursor%/" alt="" title="" />
widget=<div class="widget">\n\t<div class="widget-header">\n\t\t<i class="icon-"></i>\n\t\t<h3>%cursor%</h3>\n\t</div>\n\t<div class="widget-content">\n\t</div>\n</div>
# jQuery
jquery=<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
jqueryui=<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
jready=$(document).ready(function(){\n\t%cursor%\n});
jfunc=$(function(){\n\t%cursor%\n});
log=console.log('%cursor%');
[CSS]
# by Tomasz Karbownicki <[email protected]>
bc=background-color: %cursor%;
bp=background-position: %cursor%;
bct=background-color: transparent;
ba=background: url(%cursor%) %cursor%;
ma=margin: %cursor%;
pa=padding: %cursor%;
bo=border: %cursor%;
co=color: %cursor%;
cu=cursor: %cursor%;
he=height: %cursor%;
wi=width: %cursor%;
di=display: %cursor%;
fs=font-size: %cursor%;
ff=font-family: %cursor%;
fw=font-weight: %cursor%;
ta=text-align: %cursor%;
ts=text-shadow: %cursor%;
td=text-decoration: %cursor%;
fl=float: %cursor%;
lh=line-height: %cursor%;
im=!important
po=position: %cursor%;
ov=overflow: %cursor%;
op=opacity: 0.5;
ra=-moz-border-radius: %cursor%px; -webkit-border-radius: %cursor%px; border-radius: %cursor%px;
sh=border-shadow: %cursor%px %cursor%px #%cursor% %cursor%px;
cmt=/* ######### %cursor% ######### */
hide=text-indent: 9999em; line-height: 9999em; overflow: hidden;
i=@import url(%cursor%);
import="@import url(%cursor%);";
m=@media %cursor% {\n\t%cursor%\n};
media=@media %cursor% {\n\t%cursor%\n};
f=@font-face {\n\tfont-family=%cursor%;\n\tsrc=url(%cursor%);\n};
kf=@-webkit-keyframes ${1=identifier} {\n\t${2=from} { ${3} }${6}\n\t${4=to} { ${5} }\n}\n@-o-keyframes ${1=identifier} {\n\t${2=from} { ${3} }${6}\n\t${4=to} { ${5} }\n}\n@-moz-keyframes ${1=identifier} {\n\t${2=from} { ${3} }${6}\n\t${4=to} { ${5} }\n}\n@keyframes ${1=identifier} {\n\t${2=from} { ${3} }${6}\n\t${4=to} { ${5} }\n};
anim=animation=%cursor%;
animdel=animation-delay=%cursor%;
animdir=animation-direction=%cursor%;
animdirn=animation-direction=normal;
animdirr=animation-direction=reverse;
animdira=animation-direction=alternate;
animdirar=animation-direction=alternate-reverse;
animdur=animation-duration=%cursor%s;
animfm=animation-fill-mode=%cursor%;
animfmf=animation-fill-mode=forwards;
animfmb=animation-fill-mode=backwards;
animfmbt=animation-fill-mode=both;
animfmbh=animation-fill-mode=both;
animic=animation-iteration-count=%cursor%;
animic=i=animation-iteration-count=infinite;
animn=animation-name=%cursor%;
animps=animation-play-state=%cursor%;
animpsp=animation-play-state=paused;
animpsr=animation-play-state=running;
animtf=animation-timing-function=%cursor%;
animtfe=animation-timing-function=ease;
animtfei=animation-timing-function=ease-in;
animtfeo=animation-timing-function=ease-out;
animtfeio=animation-timing-function=ease-in-out;
animtfl=animation-timing-function=linear;
ap=appearance=%cursor%;
pos=position=%cursor%;
poss=position=static;
posa=position=absolute;
posr=position=relative;
posf=position=fixed;
t=top=%cursor%;
ta=top=auto;
r=right=%cursor%;
ra=right=auto;
b=bottom=%cursor%;
ba=bottom=auto;
l=left=%cursor%;
la=left=auto;
z=z-index=%cursor%;
za=z-index=auto;
fl=float=%cursor%;
fln=float=none;
fll=float=left;
flr=float=right;
cl=clear=%cursor%;
cln=clear=none;
cll=clear=left;
clr=clear=right;
clb=clear=both;
colm=columns=%cursor%;
colmc=column-count=%cursor%;
colmf=column-fill=%cursor%;
colmg=column-gap=%cursor%;
colmr=column-rule=%cursor%;
colmrc=column-rule-color=%cursor%;
colmrs=column-rule-style=%cursor%;
colmrw=column-rule-width=%cursor%;
colms=column-span=%cursor%;
colmw=column-width=%cursor%;
d=display=%cursor%;
dn=display=none;
db=display=block;
df=display=flex;
dif=display=inline-flex;
di=display=inline;
dib=display=inline-block;
dib+=display=inline-block;\n*display=inline;\n*zoom=1;
dli=display=list-item;
dri=display=run-in;
dcp=display=compact;
dtb=display=table;
ditb=display=inline-table;
dtbcp=display=table-caption;
dtbcl=display=table-column;
dtbclg=display=table-column-group;
dtbhg=display=table-header-group;
dtbfg=display=table-footer-group;
dtbr=display=table-row;
dtbrg=display=table-row-group;
dtbc=display=table-cell;
drb=display=ruby;
drbb=display=ruby-base;
drbbg=display=ruby-base-group;
drbt=display=ruby-text;
drbtg=display=ruby-text-group;
v=visibility=%cursor%;
vv=visibility=visible;
vh=visibility=hidden;
vc=visibility=collapse;
ov=overflow=%cursor%;
ovv=overflow=visible;
ovh=overflow=hidden;
ovs=overflow=scroll;
ova=overflow=auto;
ovx=overflow-x=%cursor%;
ovxv=overflow-x=visible;
ovxh=overflow-x=hidden;
ovxs=overflow-x=scroll;
ovxa=overflow-x=auto;
ovy=overflow-y=%cursor%;
ovyv=overflow-y=visible;
ovyh=overflow-y=hidden;
ovys=overflow-y=scroll;
ovya=overflow-y=auto;
ovs=overflow-style=%cursor%;
ovsa=overflow-style=auto;
ovss=overflow-style=scrollbar;
ovsp=overflow-style=panner;
ovsm=overflow-style=move;
ovsmq=overflow-style=marquee;
zoo=zoom=1;
zm=zoom=1;
cp=clip=%cursor%;
cpa=clip=auto;
cp=r=clip=rect(%cursor% %cursor% %cursor% %cursor%);
bxz=box-sizing=%cursor%;
bxz=cb=box-sizing=content-box;
bxz=bb=box-sizing=border-box;
bxsh=box-shadow=${1=inset }%cursor% %cursor% %cursor% %cursor%;
bxsh=r=box-shadow=${1=inset }%cursor% %cursor% %cursor% ${5=spread }rgb(%cursor%, %cursor%, %cursor%);
bxsh=ra=box-shadow=${1=inset }%cursor% %cursor% %cursor% ${5=spread }rgba(%cursor%, %cursor%, %cursor%, .%cursor%);
bxsh=n=box-shadow=none;
m=margin=%cursor%;
ma=margin=auto;
mt=margin-top=%cursor%;
mta=margin-top=auto;
mr=margin-right=%cursor%;
mra=margin-right=auto;
mb=margin-bottom=%cursor%;
mba=margin-bottom=auto;
ml=margin-left=%cursor%;
mla=margin-left=auto;
p=padding=%cursor%;
pt=padding-top=%cursor%;
pr=padding-right=%cursor%;
pb=padding-bottom=%cursor%;
pl=padding-left=%cursor%;
w=width=%cursor%;
w=a=width=auto;
h=height=%cursor%;
h=a=height=auto;
maw=max-width=%cursor%;
maw=n=max-width=none;
mah=max-height=%cursor%;
mah=n=max-height=none;
miw=min-width=%cursor%;
mih=min-height=%cursor%;
mar=max-resolution=%cursor%;
mir=min-resolution=%cursor%;
ori=orientation=%cursor%;
ori=l=orientation=landscape;
ori=p=orientation=portrait;
ol=outline=%cursor%;
ol=n=outline=none;
olo=outline-offset=%cursor%;
olw=outline-width=%cursor%;
olw=tn=outline-width=thin;
olw=m=outline-width=medium;
olw=tc=outline-width=thick;
ols=outline-style=%cursor%;
ols=n=outline-style=none;
ols=dt=outline-style=dotted;
ols=ds=outline-style=dashed;
ols=s=outline-style=solid;
ols=db=outline-style=double;
ols=g=outline-style=groove;
ols=r=outline-style=ridge;
ols=i=outline-style=inset;
ols=o=outline-style=outset;
olc=outline-color=#%cursor%;
olc=i=outline-color=invert;
bfv=backface-visibility=%cursor%;
bfv=h=backface-visibility=hidden;
bfv=v=backface-visibility=visible;
bd=border=%cursor%;
bd+=border=%cursor% %cursor% %cursor%;
bd=n=border=none;
bdbk=border-break=%cursor%;
bdbk=c=border-break=close;
bdcl=border-collapse=%cursor%;
bdcl=c=border-collapse=collapse;
bdcl=s=border-collapse=separate;
bdc=border-color=#%cursor%;
bdc=t=border-color=transparent;
bdi=border-image=url(%cursor%);
bdi=n=border-image=none;
bdti=border-top-image=url(%cursor%);
bdti=n=border-top-image=none;
bdri=border-right-image=url(%cursor%);
bdri=n=border-right-image=none;
bdbi=border-bottom-image=url(%cursor%);
bdbi=n=border-bottom-image=none;
bdli=border-left-image=url(%cursor%);
bdli=n=border-left-image=none;
bdci=border-corner-image=url(%cursor%);
bdci=n=border-corner-image=none;
bdci=c=border-corner-image=continue;
bdtli=border-top-left-image=url(%cursor%);
bdtli=n=border-top-left-image=none;
bdtli=c=border-top-left-image=continue;
bdtri=border-top-right-image=url(%cursor%);
bdtri=n=border-top-right-image=none;
bdtri=c=border-top-right-image=continue;
bdbri=border-bottom-right-image=url(%cursor%);
bdbri=n=border-bottom-right-image=none;
bdbri=c=border-bottom-right-image=continue;
bdbli=border-bottom-left-image=url(%cursor%);
bdblin=border-bottom-left-image=none;
bdbli=c=border-bottom-left-image=continue;
bdf=border-fit=%cursor%;
bdf=border-fit=clip;
bdf=r=border-fit=repeat;
bdf=border-fit=scale;
bdf=border-fit=stretch;
bdf=ow=border-fit=overwrite;
bdf=of=border-fit=overflow;
bdf=sp=border-fit=space;
bdlen=border-length=%cursor%;
bdlen=a=border-length=auto;
bdsp=border-spacing=%cursor%;
bds=border-style=%cursor%;
bdsn=border-style=none;
bdsh=border-style=hidden;
bdsdt=border-style=dotted;
bdsds=border-style=dashed;
bdss=border-style=solid;
bds=db=border-style=double;
bds=dtds=border-style=dot-dash;
bds=dtdtds=border-style=dot-dot-dash;
bds=w=border-style=wave;
bds=g=border-style=groove;
bds=r=border-style=ridge;
bds=i=border-style=inset;
bds=o=border-style=outset;
bdw=border-width=%cursor%;
bdtw=border-top-width=%cursor%;
bdrw=border-right-width=%cursor%;
bdbw=border-bottom-width=%cursor%;
bdlw=border-left-width=%cursor%;
bdt=border-top=%cursor%;
bt=border-top=%cursor%;
bdt+=border-top=%cursor% %cursor% %cursor%;
bdt=n=border-top=none;
bdts=border-top-style=%cursor%;
bdtsn=border-top-style=none;
bdtc=border-top-color=#%cursor%;
bdtct=border-top-color=transparent;
bdr=border-right=%cursor%;
br=border-right=%cursor%;
bdr+=border-right=%cursor% %cursor% %cursor%;
bdr=n=border-right=none;
bdrst=border-right-style=%cursor%;
bdrstn=border-right-style=none;
bdrc=border-right-color=#%cursor%;
bdrc=t=border-right-color=transparent;
bdb=border-bottom=%cursor%;
bb=border-bottom=%cursor%;
bdb+=border-bottom=%cursor% %cursor% %cursor%;
bdbn=border-bottom=none;
bdbs=border-bottom-style=%cursor%;
bdbsn=border-bottom-style=none;
bdbc=border-bottom-color=#%cursor%;
bdbct=border-bottom-color=transparent;
bdl=border-left=%cursor%;
bl=border-left=%cursor%;
bdl+=border-left=%cursor% %cursor% %cursor%;
bdln=border-left=none;
bdls=border-left-style=%cursor%;
bdlsn=border-left-style=none;
bdlc=border-left-color=#%cursor%;
bdlct=border-left-color=transparent;
bdrs=border-radius=%cursor%;
bdtrrs=border-top-right-radius=%cursor%;
bdtlrs=border-top-left-radius=%cursor%;
bdbrrs=border-bottom-right-radius=%cursor%;
bdblrs=border-bottom-left-radius=%cursor%;
bg=background=#%cursor%;
bg+=background=${1=#fff} url(%cursor%) %cursor% %cursor% %cursor%;
bg=n=background=none;
bg=ie=filter=progid=DXImageTransform.Microsoft.AlphaImageLoader(src='%cursor%.png',sizingMethod='%cursor%');
bgc=background-color=#%cursor%;
bgct=background-color=transparent;
bgi=background-image=url(%cursor%);
bgin=background-image=none;
bgr=background-repeat=%cursor%;
bgrn=background-repeat=no-repeat;
bgrx=background-repeat=repeat-x;
bgry=background-repeat=repeat-y;
bgrsp=background-repeat=space;
bgrrd=background-repeat=round;
bga=background-attachment=%cursor%;
bgaf=background-attachment=fixed;
bgas=background-attachment=scroll;
bgp=background-position=%cursor% %cursor%;
bgpx=background-position-x=%cursor%;
bgpy=background-position-y=%cursor%;
bgbk=background-break=%cursor%;
bgbkbb=background-break=bounding-box;
bgbkeb=background-break=each-box;
bgbkc=background-break=continuous;
bgcp=background-clip=%cursor%;
bgcpbb=background-clip=border-box;
bgcppb=background-clip=padding-box;
bgcpcb=background-clip=content-box;
bgcpnc=background-clip=no-clip;
bgo=background-origin=%cursor%;
bgopb=background-origin=padding-box;
bgobb=background-origin=border-box;
bgocb=background-origin=content-box;
bgsz=background-size=%cursor%;
bgsza=background-size=auto;
bgszct=background-size=contain;
bgszcv=background-size=cover;
c=color=#%cursor%;
cr=color=rgb(%cursor%, %cursor%, %cursor%);
cra=color=rgba(%cursor%, %cursor%, %cursor%, .%cursor%);
cm=/* %cursor%%cursor% */;
cnt=content='%cursor%';
cnt=n=content=normal;
cnt=oq=content=open-quote;
cnt=noq=content=no-open-quote;
cnt=cq=content=close-quote;
cnt=ncq=content=no-close-quote;
cnt=a=content=attr(%cursor%);
cnt=c=content=counter(%cursor%);
cnt=cs=content=counters(%cursor%);
tbl=table-layout=%cursor%;
tbl=a=table-layout=auto;
tbl=f=table-layout=fixed;
cps=caption-side=%cursor%;
cps=t=caption-side=top;
cps=b=caption-side=bottom;
ec=empty-cells=%cursor%;
ec=s=empty-cells=show;
ec=h=empty-cells=hide;
lis=list-style=%cursor%;
lis=n=list-style=none;
lisp=list-style-position=%cursor%;
lisp=i=list-style-position=inside;
lisp=o=list-style-position=outside;
list=list-style-type=%cursor%;
list=n=list-style-type=none;
list=d=list-style-type=disc;
list=c=list-style-type=circle;
list=s=list-style-type=square;
list=dc=list-style-type=decimal;
list=dclz=list-style-type=decimal-leading-zero;
list=lr=list-style-type=lower-roman;
list=ur=list-style-type=upper-roman;
lisi=list-style-image=%cursor%;
lisi=n=list-style-image=none;
q=quotes=%cursor%;
q=n=quotes=none;
q=ru=quotes='\\00AB' '\\00BB' '\\201E' '\\201C';
q=en=quotes='\\201C' '\\201D' '\\2018' '\\2019';
ct=content=%cursor%;
ct=n=content=normal;
ct=oq=content=open-quote;
ct=noq=content=no-open-quote;
ct=cq=content=close-quote;
ct=ncq=content=no-close-quote;
ct=a=content=attr(%cursor%);
ct=c=content=counter(%cursor%);
ct=cs=content=counters(%cursor%);
coi=counter-increment=%cursor%;
cor=counter-reset=%cursor%;
va=vertical-align=%cursor%;
va=sup=vertical-align=super;
va=t=vertical-align=top;
va=tt=vertical-align=text-top;
va=m=vertical-align=middle;
va=bl=vertical-align=baseline;
va=b=vertical-align=bottom;
va=tb=vertical-align=text-bottom;
va=sub=vertical-align=sub;
ta=text-align=%cursor%;
ta=l=text-align=left;
ta=c=text-align=center;
ta=r=text-align=right;
ta=j=text-align=justify;
ta-lst=text-align-last=%cursor%;
tal=a=text-align-last=auto;
tal=l=text-align-last=left;
tal=c=text-align-last=center;
tal=r=text-align-last=right;
td=text-decoration=%cursor%;
td=n=text-decoration=none;
td=u=text-decoration=underline;
td=o=text-decoration=overline;
td=l=text-decoration=line-through;
te=text-emphasis=%cursor%;
te=n=text-emphasis=none;
te=ac=text-emphasis=accent;
te=dt=text-emphasis=dot;
te=c=text-emphasis=circle;
te=ds=text-emphasis=disc;
te=b=text-emphasis=before;
te=a=text-emphasis=after;
th=text-height=%cursor%;
th=a=text-height=auto;
th=f=text-height=font-size;
th=t=text-height=text-size;
th=m=text-height=max-size;
ti=text-indent=%cursor%;
ti=-=text-indent=-9999px;
tj=text-justify=%cursor%;
tj=a=text-justify=auto;
tj=iw=text-justify=inter-word;
tj=ii=text-justify=inter-ideograph;
tj=ic=text-justify=inter-cluster;
tj=d=text-justify=distribute;
tj=k=text-justify=kashida;
tj=t=text-justify=tibetan;
tov=text-overflow=%cursor%;
tov=e=text-overflow=ellipsis;
tov=c=text-overflow=clip;
to=text-outline=%cursor%;
to+=text-outline=%cursor% %cursor% %cursor%;
to=n=text-outline=none;
tr=text-replace=%cursor%;
tr=n=text-replace=none;
tt=text-transform=%cursor%;
tt=n=text-transform=none;
tt=c=text-transform=capitalize;
tt=u=text-transform=uppercase;
tt=l=text-transform=lowercase;
tw=text-wrap=%cursor%;
tw=n=text-wrap=normal;
tw=no=text-wrap=none;
tw=u=text-wrap=unrestricted;
tw=s=text-wrap=suppress;
tsh=text-shadow=%cursor% %cursor% %cursor% %cursor%;
tsh=r=text-shadow=%cursor% %cursor% %cursor% rgb(%cursor%, %cursor%, %cursor%);
tsh=ra=text-shadow=%cursor% %cursor% %cursor% rgba(%cursor%, %cursor%, %cursor%, .%cursor%);
tsh+=text-shadow=%cursor% %cursor% %cursor% %cursor%;
tsh=n=text-shadow=none;
trf=transform=%cursor%;
trf=skx=transform=skewX(%cursor%);
trf=sky=transform=skewY(%cursor%);
trf=sc=transform=scale(%cursor%, %cursor%);
trf=scx=transform=scaleX(%cursor%);
trf=scy=transform=scaleY(%cursor%);
trf=scz=transform=scaleZ(%cursor%);
trf=sc3=transform=scale3d(%cursor%, %cursor%, %cursor%);
trf=r=transform=rotate(%cursor%);
trf=rx=transform=rotateX(%cursor%);
trf=ry=transform=rotateY(%cursor%);
trf=rz=transform=rotateZ(%cursor%);
trf=t=transform=translate(%cursor%, %cursor%);
trf=tx=transform=translateX(%cursor%);
trf=ty=transform=translateY(%cursor%);
trf=tz=transform=translateZ(%cursor%);
trf=t3=transform=translate3d(%cursor%, %cursor%, %cursor%);
trfo=transform-origin=%cursor%;
trfs=transform-style=%cursor%;
trs=transition=%cursor% %cursor%;
trsde=transition-delay=%cursor%;
trsdu=transition-duration=%cursor%;
trsp=transition-property=%cursor%;
trstf=transition-timing-function=%cursor%;
lh=line-height=%cursor%;
whs=white-space=%cursor%;
whs=n=white-space=normal;
whs=p=white-space=pre;
whs=nw=white-space=nowrap;
whs=pw=white-space=pre-wrap;
whs=pl=white-space=pre-line;
whsc=white-space-collapse=%cursor%;
whsc=n=white-space-collapse=normal;
whsc=k=white-space-collapse=keep-all;
whsc=l=white-space-collapse=loose;
whsc=bs=white-space-collapse=break-strict;
whsc=ba=white-space-collapse=break-all;
wob=word-break=%cursor%;
wob=n=word-break=normal;
wob=k=word-break=keep-all;
wob=ba=word-break=break-all;
wos=word-spacing=%cursor%;
wow=word-wrap=%cursor%;
wow=nm=word-wrap=normal;
wow=n=word-wrap=none;
wow=u=word-wrap=unrestricted;
wow=s=word-wrap=suppress;
wow=b=word-wrap=break-word;
wm=writing-mode=%cursor%;
wm=lrt=writing-mode=lr-tb;
wm=lrb=writing-mode=lr-bt;
wm=rlt=writing-mode=rl-tb;
wm=rlb=writing-mode=rl-bt;
wm=tbr=writing-mode=tb-rl;
wm=tbl=writing-mode=tb-lr;
wm=btl=writing-mode=bt-lr;
wm=btr=writing-mode=bt-rl;
lts=letter-spacing=%cursor%;
lts-n=letter-spacing=normal;
f=font=%cursor%;
f+=font=%cursor% ${2=Arial,sans-serif};
fw=font-weight=%cursor%;
fw=n=font-weight=normal;
fw=b=font-weight=bold;
fw=br=font-weight=bolder;
fw=lr=font-weight=lighter;
fs=font-style=%cursor%;
fs=n=font-style=normal;
fs=i=font-style=italic;
fs=o=font-style=oblique;
fv=font-variant=%cursor%;
fv=n=font-variant=normal;
fv=sc=font-variant=small-caps;
fz=font-size=%cursor%;
fza=font-size-adjust=%cursor%;
fza=n=font-size-adjust=none;
ff=font-family=%cursor%;
ff=s=font-family=serif;
ff=ss=font-family=sans-serif;
ff=c=font-family=cursive;
ff=f=font-family=fantasy;
ff=m=font-family=monospace;
ff=a=font-family=Arial, \Helvetica Neue\; Helvetica, sans-serif;
ff=t=font-family=\Times New Roman\; Times, Baskerville, Georgia, serif;
ff=v=font-family=Verdana, Geneva, sans-serif;
fef=font-effect=%cursor%;
fef=n=font-effect=none;
fef=eg=font-effect=engrave;
fef=eb=font-effect=emboss;
fef=o=font-effect=outline;
fem=font-emphasize=%cursor%;
femp=font-emphasize-position=%cursor%;
femp=b=font-emphasize-position=before;
femp=a=font-emphasize-position=after;
fems=font-emphasize-style=%cursor%;
fems=n=font-emphasize-style=none;
fems=ac=font-emphasize-style=accent;
fems=dt=font-emphasize-style=dot;
fems=c=font-emphasize-style=circle;
fems=ds=font-emphasize-style=disc;
fsm=font-smooth=%cursor%;
fsm=a=font-smooth=auto;
fsm=n=font-smooth=never;
fsm=aw=font-smooth=always;
fst=font-stretch=%cursor%;
fst=n=font-stretch=normal;
fst=uc=font-stretch=ultra-condensed;
fst=ec=font-stretch=extra-condensed;
fst=c=font-stretch=condensed;
fst=sc=font-stretch=semi-condensed;
fst=se=font-stretch=semi-expanded;
fst=e=font-stretch=expanded;
fst=ee=font-stretch=extra-expanded;
fst=ue=font-stretch=ultra-expanded;
op=opacity=%cursor%;
op+=opacity=$1;\nfilter=alpha(opacity=$2);
op=ie=filter=progid=DXImageTransform.Microsoft.Alpha(Opacity=100);
op=ms=-ms-filter='progid=DXImageTransform.Microsoft.Alpha(Opacity=100)';
rsz=resize=%cursor%;
rsz=n=resize=none;
rsz=b=resize=both;
rsz=h=resize=horizontal;
rsz=v=resize=vertical;
cur=cursor=%cursor%;
cur=a=cursor=auto;
cur=d=cursor=default;
cur=c=cursor=crosshair;
cur=ha=cursor=hand;
cur=he=cursor=help;
cur=m=cursor=move;
cur=p=cursor=pointer;
cur=t=cursor=text;
fxd=flex-direction=%cursor%;
fxd=r=flex-direction=row;
fxd=rr=flex-direction=row-reverse;
fxd=c=flex-direction=column;
fxd=cr=flex-direction=column-reverse;
fxw=flex-wrap=%cursor%;
fxw=n=flex-wrap=nowrap;
fxw=w=flex-wrap=wrap;
fxw=wr=flex-wrap=wrap-reverse;
fxf=flex-flow=%cursor%;
jc=justify-content=%cursor%;
jc=fs=justify-content=flex-start;
jc=fe=justify-content=flex-end;
jc=c=justify-content=center;
jc=sb=justify-content=space-between;
jc=sa=justify-content=space-around;
ai=align-items=%cursor%;
ai=fs=align-items=flex-start;
ai=fe=align-items=flex-end;
ai=c=align-items=center;
ai=b=align-items=baseline;
ai=s=align-items=stretch;
ac=align-content=%cursor%;
ac=fs=align-content=flex-start;
ac=fe=align-content=flex-end;
ac=c=align-content=center;
ac=sb=align-content=space-between;
ac=sa=align-content=space-around;
ac=s=align-content=stretch;
ord=order=%cursor%;
fxg=flex-grow=%cursor%;
fxsh=flex-shrink=%cursor%;
fxb=flex-basis=%cursor%;
fx=flex=%cursor%;
as=align-self=%cursor%;
as=a=align-self=auto;
as=fs=align-self=flex-start;
as=fe=align-self=flex-end;
as=c=align-self=center;
as=b=align-self=baseline;
as=s=align-self=stretch;
pgbb=page-break-before=%cursor%;
pgbb=au=page-break-before=auto;
pgbb=al=page-break-before=always;
pgbb=l=page-break-before=left;
pgbb=r=page-break-before=right;
pgbi=page-break-inside=%cursor%;
pgbi=au=page-break-inside=auto;
pgbi=av=page-break-inside=avoid;
pgba=page-break-after=%cursor%;
pgba=au=page-break-after=auto;
pgba=al=page-break-after=always;
pgba=l=page-break-after=left;
pgba=r=page-break-after=right;
orp=orphans=%cursor%;
us=user-select=%cursor%;
wid=widows=%cursor%;
wfsm=-webkit-font-smoothing=%cursor%;
wfsm=a=-webkit-font-smoothing=antialiased;
wfsm=s=-webkit-font-smoothing=subpixel-antialiased;
wfsm=sa=-webkit-font-smoothing=subpixel-antialiased;
wfsm=n=-webkit-font-smoothing=none;
[Javascript]
jready=$(document).ready(function(){\n\t%cursor%\n});
jfunc=$(function(){\n\t%cursor%\n});
log=console.log('%cursor%');
[LaTeX]
# by Frank Lanitz
frame=\\begin{frame}\n%ws%\\frametitle{%cursor%}\n%ws%%cursor%\n\\end{frame}
block=\\begin{block}{%cursor%}\n%ws%%cursor%\n\\end{block}
itemize=\\begin{itemize}\n%ws%\\item %cursor%\n\\end{itemize}
enumerate=\\begin{enumerate}\n%ws%\\item %cursor%\n\\end{enumerate}
description=\\begin{description}\n%ws%\\item %cursor%\n\\end{description}
[Tcl]
# by Witek Mozga
proc=proc %cursor% { } {\n\t\n} ; # end proc
namespace=namespace eval %cursor% {\n\t\n}; # end namespace
expr=expr { %cursor% }
oo=oo::class create %cursor% {\n\t\n}; # end class
for=for {set i 0} {$i < %cursor%} {incr i} {\n\t\n} ; # end for
while=while { $%cursor% } {\n\t\n} ; # end while
foreach=foreach x $%cursor% {\n\t\n} ; # end foreach
if=if { $%cursor% } {\n\t\n} ; # end if
else=else {\n\t\n} ; # end else
elseif=elseif { $%cursor% } {\n\t\n} ; # end elseif
switch=switch %cursor% {\n\t\n\tdefault { }\n} ; # end switch
set=set %cursor% { }
[C++]
for=for (int i = 0; i < %cursor%; i++)%brace_open%\n%brace_close%
[Java]
for=for (int i = 0; i < %cursor%; i++)%brace_open%\n%brace_close%
[Javascript]
jready=$(document).ready(function(){\n\t%cursor%\n});
jfunc=$(function() {\n\t%cursor%\n});
log=console.log('%cursor%');
[PHP]
# Little php snippets written by Atanas Beloborodov <[email protected]>
# Some php5 object`s usefull snippets
class=class %cursor% \n{\n\tpublic function __construct()\n\t{\t\n\n\t}\n\n\tpublic function __destruct()\n\t{\t\n\n\t}\n}
interface=interface %cursor% %block%
static=public static function %cursor%() %block%
public=public function %cursor%()%block%
protected=protected function %cursor%()%block%
private=private function %cursor%()%block%
#Control structures :
for=for ($i = 0; $i < %cursor%; $i++) %block%
while=while (%cursor%) %block%
if=if (%cursor%) %block%
switch=switch (%cursor%) {\n\tcase '';\n\n\tbreak;\n\n\tdefault :\n\n\tbreak;\n}\n
else=if (%cursor%) %block%else %block%
elseif=if (%cursor%) {\n\t\n}\nelseif () {\n\t\n}\nelse {\n\t\n}\n
do=do %block%while (%cursor%);
foreach=foreach (%cursor%) %block%
# Include methods
# Note : require and include is not functions ! Not required braces ()
req=require "%cursor%";
reqo=require_once "%cursor%";
inc=include "%cursor%";
inco=include_once "%cursor%";
# Others :
function=function %cursor%() %block%
def=define ('%cursor%','');
throw=throw new Exception ('%cursor%');e%
# html tag suppport on php
php=<?php %cursor% ?>
a=<a href="%cursor%"></a>
link=<a href="http://%cursor%"></a>
mail=<a href="mailto:%cursor%"></a>
abbr=<abbr title="%cursor%">%cursor%</abbr>
acr=<acronym title="%cursor%"></acronym>
base=<base href="%cursor%" />
basefont=<basefont/>
br=<br/>
frame=<frame/>
hr=<hr/>
link=<link rel="stylesheet" href="%cursor%" />
css=<link rel="stylesheet" href="%cursor%style.css" />
print=<link rel="stylesheet" href="%cursor%.css" media="print" />
favicon=<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
touch=<link rel="apple-touch-icon" href="${1:favicon.png}" />
rss=<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml" />
atom=<link rel="alternate" type="application/atom+xml" title="Atom" href="atom.xml" />
link:im|link:import=<link rel="import" href="component.html" />
meta=<meta/>;
utf=<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />;
win=<meta http-equiv="Content-Type" content="text/html;charset=windows-1251" />
vp=<meta name="viewport" content="width=device-width, user-scalable=no />
compat=<meta http-equiv="X-UA-Compatible" content="IE=7" />
style=<style>\n\t\n</style>
script=<script>\n\t\n</script>
script_src=<script src=""></script>
img=<img src="%cursor%" alt="%cursor%" />
iframe=<iframe src="%cursor%" frameborder="0">\n\t\n</iframe>
form=<form action="%cursor%">\n\t\n</form>
form_get=<form action="" method="get">\n\t\n</form>
form_post=<form action="%cursor%" method="post">\n\t\n</form>
label=<label for="%cursor%"></label>
input=<input type="text" />
inp=<input type="text" name="" id="" />
hidden=<input type="hidden" name="%cursor%" id="" />
text=<input type="text" name="%cursor%">
search=<input type="search" name="%cursor%">
email=<input type="email" name="%cursor%">
url=<input type="url" name="%cursor%">
password=<input type="password" name="%cursor%">
datetime=<input type="datetime" name="%cursor%">
date=<input type="date" name="%cursor%">
datetime-local=<input type="datetime-local" name="%cursor%">
month=<input type="month" name="%cursor%">
week=<input type="week" name="%cursor%">
time=<input type="time" name="%cursor%">
tel=<input type="tel" name="%cursor%">
number=<input type="number" name="%cursor%">
input_color=<input type="text" name="%cursor%">
checkbox=<input type="checkbox" name="%cursor%">
radio=<input type="radio" name="%cursor%">
range=<input type="range" name="%cursor%">
file=<input type="file" name="%cursor%">
submit=<input type="submit" value="" />
image=<input type="image" src="" alt="" />
ibutton=<input type="button" value="%cursor%" />
reset=input:button[type=reset]
select=<select name="%cursor%" id="">\n\t\n</select>
option=<option value="%cursor%"></option>
textarea=<textarea name="%cursor%" id=""></textarea>
marquee=<marquee behavior="" direction="">\n\t\n</marquee>
video=<video src="">\n\t\n</video>
audio=<audio src="">\n\t\n</video>
div=<div%cursor%>\n\t\n</div>
divc=<div class="%cursor%">\n\t\n</div>
divid=<div id="%cursor%">\n\t\n</div>
header=<header>\n\t\n</header>
section=<section>\n\t\n</section>
footer=<footer>\n\t\n</footer>
p=<p></p>
[Python]
utf8=#-*- coding: utf-8 -*-
for=for i in xrange(%cursor%):\n\t
doc=""" %cursor% """\n
elif=elif %cursor%:\n\t
else=else:\n\t%cursor%
if=if %cursor%:\n\t
from=from %cursor% import %cursor%\n
main=if __name__ == '__main__':\n\t%cursor%
class=class %cursor%(object):\n\t""" %cursor% """\n\t\n\tdef __init__ (self):\n\t\t""" Class initialiser """\n\t\tpass
def=def %cursor%(self):\n\t""" Function doc\n\n\t@param PARAM: DESCRIPTION\n\t@return RETURN: DESCRIPTION\n\t"""\n\t
get=def get%cursor%(self): return self._var\n
set=def set%cursor%(self): self._var = var\n
.=self.%cursor%
try=try:\n\t%cursor%\nexcept Exception, e:\n\t
py=#!/usr/bin/env python\n#-*- coding:utf-8 -*-\n\n%cursor%
while=while %cursor%:\n\t
with=with %cursor%:\n\t
head="""\n\t%cursor%PROJECT - MODULE\n\n\tDESCRIPTION\n\n\t@copyright: {year} by {developer} <{mail}>\n\t@license: GNU GPL, see COPYING for details.\n"""\n
p=print "%cursor%"
pr=print %cursor%
# Django models
# by Tomasz Karbownicki <[email protected]>
mclass=class %cursor%(models.Model):\n\t'''%cursor%'''\n\n\tdef __unicode__(self):\n\t\treturn self.XXXXX\n\n\tdef get_absolute_url(self):\n\t\treturn "/XXXXX/%s/" % self.slug\n\n\tclass Meta:\n\t\tverbose_name = "%cursor%"\n\t\tverbose_name_plural = "%cursor%"
mchar=%cursor% = models.CharField(max_length=50, verbose_name=u'%cursor%')
mint=%cursor% = models.IntegerField(verbose_name=u'%cursor%')
mtext=%cursor% = models.TextField(verbose_name=u'%cursor%')
mkey=%cursor% = models.ForeignKey(%cursor%, verbose_name=u'%cursor%')
mimage=%cursor% = models.ImageField(upload_to='', verbose_name=u'%cursor%')
mbool=%cursor% = models.BooleanField(verbose_name=u'%cursor%')
mdate=%cursor% = models.DateField(verbose_name=u'%cursor%', help_text='Format daty: 2009-04-28')
memail=%cursor% = models.EmailField(verbose_name=u'%cursor%')
murl=%cursor% = models.URLField(verbose_name=u'%cursor%')
mslug=%cursor% = models.SlugField(verbose_name=u'%cursor%', unique=True)
[Ferite]
iferr=iferr%block_cursor%fix%block%
monitor=monitor%block_cursor%handle%block%
[HTML]
[PHP]
# by Tomasz Karbownicki <[email protected]>
# top
html5=<!DOCTYPE html>\n<html lang="en">\n<head>\n\t<meta charset="utf-8" />\n\t<title>%cursor%</title>\n</head>\n<body>\n\t%cursor%\n</body>\n</html>
html=<html lang="%cursor%">\n\t%cursor%\n</html>
head=<head>\n\t%cursor%\n</head>
js=<script type="text/javascript">\n\t%cursor%\n</script>
js2=<script src="%cursor%" type="text/javascript"></script>
css=<style type="text/css">\n\t%cursor%\n</style>
css2=<link href="%cursor%" rel="stylesheet" type="text/css" />
rss=<link rel="alternate" type="application/rss+xml" title="%cursor%" href="%cursor%" />
title=<title>%cursor%</title>
utf=<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
ie7=<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
refresh=<meta http-equiv="refresh" content="2;url=%cursor%" />
body=<body>\n\t%cursor%\n</body>
# table
table=<table>\n\t<thead>\n\t\t<tr>\n\t\t\t<th>%cursor%</th>\n\t\t</tr>\n\t</thead>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td>%cursor%</td>\n\t\t</tr>\n\t</tbody>\n</table>
td=<td>%cursor%</td>
tr=<tr>%cursor%</tr>
th=<th>%cursor%</th>
caption=<caption>%cursor%</caption>
# form
form=<form action="%cursor%" method="post">\n\n\t<input type="submit" value="%cursor%" />\n</form>
formp=<form action="%cursor%" method="post">\n\n\t<p>{{ form.as_p }}</p>\n<p><input type="submit" value="%cursor%" /></p>\n</form>
label=<label for="%cursor%"></label>
input=<input type="text" name="%cursor%" value="%cursor%" id="%cursor%" />
pass=<input type="password" name="%cursor%" id="%cursor%" />
textarea=<textarea name="%cursor%" cols="50" rows="10" id="%cursor%" ></textarea>
select=<select name="%cursor%" id="%cursor%">\n\t<option value="%cursor%"></option>\n</select>
radio=<input type="radio" name="%cursor%" value="%cursor%" />
checkbox=<input type="checkbox" name="%cursor%" value="%cursor%" />
button=<button type="%cursor%">%cursor%</button>
fieldset=<fieldset>\n\t<legend>%cursor%</legend>\n</fieldset>
# list
ul=<ul class="%cursor%">\n\t<li>%cursor%</li>\n</ul>
ol=<ol class="%cursor%">\n\t<li>%cursor%</li>\n</ol>
li=<li>%cursor%</li>
dl=<dl class="%cursor%">\n\t<dt>%cursor%</dt>\n\t<dd>%cursor%</dd>\n</dl>
dt=<dt>%cursor%</dt>
dd=<dd>%cursor%</dd>
# inline
a=<a href="%cursor%">%cursor%</a>
i=<i>%cursor%</i>
span=<span>%cursor%</span>
em=<em>%cursor%</em>
small=<small>%cursor%</small>
big=<big>%cursor%</big>
cite=<cite>%cursor%</cite>
strong=<strong>%cursor%</strong>
img=<img src="%cursor%" alt="%cursor%" title="%cursor%" />
thumb=<a href="%cursor%"><img src="%cursor%" alt="%cursor%" title="%cursor%" /></a>
# block
div=<div class="%cursor%">%cursor%</div>
h1=<h1>%cursor%</h1>
h2=<h2>%cursor%</h2>
h3=<h3>%cursor%</h3>
h4=<h4>%cursor%</h4>
h5=<h5>%cursor%</h5>
h6=<h6>%cursor%</h6>
p=<p>%cursor%</p>
pre=<pre>\n%cursor%\n</pre>
code=<code>%cursor%</code>
prec=<pre><code>%cursor%</code></pre>
quote=<blockquote>\n\t<p>\n\t\t%cursor%\n\t</p>\n</blockquote>
# other
cl=class="%cursor%"
id=id="%cursor%"
cmt=<!--\n\t%cursor%\n-->
cmt2=<!-- %cursor% -->
br=<br/>
hr=<hr/>
1s=&nbsp;
3s=&nbsp;&nbsp;&nbsp;
7s=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
dummyimage=<img src="http://dummyimage.com/%cursor%x%cursor%/000/fff.png" alt="" title="" />
dummyimage2=<img src="http://lorempixel.com/%cursor%/%cursor%/" alt="" title="" />
widget=<div class="widget">\n\t<div class="widget-header">\n\t\t<i class="icon-"></i>\n\t\t<h3>%cursor%</h3>\n\t</div>\n\t<div class="widget-content">\n\t</div>\n</div>
# Django templates
if={% if %cursor% %}\n\t\n{% endif %}
for={% for sth in %cursor% %}\n\t%cursor%\n{% endfor %}
dv={{ %cursor% }}
db={% %cursor% %}
dbl={% block %cursor% %}\n\t%cursor%\n{% endblock %}
trans={% trans "%cursor%" %}
# jQuery
jquery=<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
jqueryui=<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
jready=$(document).ready(function(){\n\t%cursor%\n});
jfunc=$(function(){\n\t%cursor%\n});
log=console.log('%cursor%');
[CSS]
# by Tomasz Karbownicki <[email protected]>
bc=background-color: %cursor%;
bp=background-position: %cursor%;
bct=background-color: transparent;
ba=background: url(%cursor%) %cursor%;
ma=margin: %cursor%;
pa=padding: %cursor%;
bo=border: %cursor%;
co=color: %cursor%;
cu=cursor: %cursor%;
he=height: %cursor%;
wi=width: %cursor%;
di=display: %cursor%;
fs=font-size: %cursor%;
ff=font-family: %cursor%;
fw=font-weight: %cursor%;
ta=text-align: %cursor%;
ts=text-shadow: %cursor%;
td=text-decoration: %cursor%;
fl=float: %cursor%;
lh=line-height: %cursor%;
im=!important
po=position: %cursor%;
ov=overflow: %cursor%;
op=opacity: 0.5;
ra=-moz-border-radius: %cursor%px; -webkit-border-radius: %cursor%px; border-radius: %cursor%px;
sh=border-shadow: %cursor%px %cursor%px #%cursor% %cursor%px;
cmt=/* ######### %cursor% ######### */
hide=text-indent: 9999em; line-height: 9999em; overflow: hidden;
i=@import url(%cursor%);
import="@import url(%cursor%);";
m=@media %cursor% {\n\t%cursor%\n};
media=@media %cursor% {\n\t%cursor%\n};
f=@font-face {\n\tfont-family=%cursor%;\n\tsrc=url(%cursor%);\n};
kf=@-webkit-keyframes ${1=identifier} {\n\t${2=from} { ${3} }${6}\n\t${4=to} { ${5} }\n}\n@-o-keyframes ${1=identifier} {\n\t${2=from} { ${3} }${6}\n\t${4=to} { ${5} }\n}\n@-moz-keyframes ${1=identifier} {\n\t${2=from} { ${3} }${6}\n\t${4=to} { ${5} }\n}\n@keyframes ${1=identifier} {\n\t${2=from} { ${3} }${6}\n\t${4=to} { ${5} }\n};
anim=animation=%cursor%;
animdel=animation-delay=%cursor%;
animdir=animation-direction=%cursor%;
animdirn=animation-direction=normal;
animdirr=animation-direction=reverse;
animdira=animation-direction=alternate;
animdirar=animation-direction=alternate-reverse;
animdur=animation-duration=%cursor%s;
animfm=animation-fill-mode=%cursor%;
animfmf=animation-fill-mode=forwards;
animfmb=animation-fill-mode=backwards;
animfmbt=animation-fill-mode=both;
animfmbh=animation-fill-mode=both;
animic=animation-iteration-count=%cursor%;
animic=i=animation-iteration-count=infinite;
animn=animation-name=%cursor%;
animps=animation-play-state=%cursor%;
animpsp=animation-play-state=paused;
animpsr=animation-play-state=running;
animtf=animation-timing-function=%cursor%;
animtfe=animation-timing-function=ease;
animtfei=animation-timing-function=ease-in;
animtfeo=animation-timing-function=ease-out;
animtfeio=animation-timing-function=ease-in-out;
animtfl=animation-timing-function=linear;
ap=appearance=%cursor%;
pos=position=%cursor%;
poss=position=static;
posa=position=absolute;
posr=position=relative;
posf=position=fixed;
t=top=%cursor%;
ta=top=auto;
r=right=%cursor%;
ra=right=auto;
b=bottom=%cursor%;
ba=bottom=auto;
l=left=%cursor%;
la=left=auto;
z=z-index=%cursor%;
za=z-index=auto;
fl=float=%cursor%;
fln=float=none;
fll=float=left;
flr=float=right;
cl=clear=%cursor%;
cln=clear=none;
cll=clear=left;
clr=clear=right;
clb=clear=both;
colm=columns=%cursor%;
colmc=column-count=%cursor%;
colmf=column-fill=%cursor%;
colmg=column-gap=%cursor%;
colmr=column-rule=%cursor%;
colmrc=column-rule-color=%cursor%;
colmrs=column-rule-style=%cursor%;
colmrw=column-rule-width=%cursor%;
colms=column-span=%cursor%;
colmw=column-width=%cursor%;
d=display=%cursor%;
dn=display=none;
db=display=block;
df=display=flex;
dif=display=inline-flex;
di=display=inline;
dib=display=inline-block;
dib+=display=inline-block;\n*display=inline;\n*zoom=1;
dli=display=list-item;
dri=display=run-in;
dcp=display=compact;
dtb=display=table;
ditb=display=inline-table;
dtbcp=display=table-caption;
dtbcl=display=table-column;
dtbclg=display=table-column-group;
dtbhg=display=table-header-group;
dtbfg=display=table-footer-group;
dtbr=display=table-row;
dtbrg=display=table-row-group;
dtbc=display=table-cell;
drb=display=ruby;
drbb=display=ruby-base;
drbbg=display=ruby-base-group;
drbt=display=ruby-text;
drbtg=display=ruby-text-group;
v=visibility=%cursor%;
vv=visibility=visible;
vh=visibility=hidden;
vc=visibility=collapse;
ov=overflow=%cursor%;
ovv=overflow=visible;
ovh=overflow=hidden;
ovs=overflow=scroll;
ova=overflow=auto;
ovx=overflow-x=%cursor%;
ovxv=overflow-x=visible;
ovxh=overflow-x=hidden;
ovxs=overflow-x=scroll;
ovxa=overflow-x=auto;
ovy=overflow-y=%cursor%;
ovyv=overflow-y=visible;
ovyh=overflow-y=hidden;
ovys=overflow-y=scroll;
ovya=overflow-y=auto;
ovs=overflow-style=%cursor%;
ovsa=overflow-style=auto;
ovss=overflow-style=scrollbar;
ovsp=overflow-style=panner;
ovsm=overflow-style=move;
ovsmq=overflow-style=marquee;
zoo=zoom=1;
zm=zoom=1;
cp=clip=%cursor%;
cpa=clip=auto;
cp=r=clip=rect(%cursor% %cursor% %cursor% %cursor%);
bxz=box-sizing=%cursor%;
bxz=cb=box-sizing=content-box;
bxz=bb=box-sizing=border-box;
bxsh=box-shadow=${1=inset }%cursor% %cursor% %cursor% %cursor%;
bxsh=r=box-shadow=${1=inset }%cursor% %cursor% %cursor% ${5=spread }rgb(%cursor%, %cursor%, %cursor%);
bxsh=ra=box-shadow=${1=inset }%cursor% %cursor% %cursor% ${5=spread }rgba(%cursor%, %cursor%, %cursor%, .%cursor%);
bxsh=n=box-shadow=none;
m=margin=%cursor%;
ma=margin=auto;
mt=margin-top=%cursor%;
mta=margin-top=auto;
mr=margin-right=%cursor%;
mra=margin-right=auto;
mb=margin-bottom=%cursor%;
mba=margin-bottom=auto;
ml=margin-left=%cursor%;
mla=margin-left=auto;
p=padding=%cursor%;
pt=padding-top=%cursor%;
pr=padding-right=%cursor%;
pb=padding-bottom=%cursor%;
pl=padding-left=%cursor%;
w=width=%cursor%;
w=a=width=auto;
h=height=%cursor%;
h=a=height=auto;
maw=max-width=%cursor%;
maw=n=max-width=none;
mah=max-height=%cursor%;
mah=n=max-height=none;
miw=min-width=%cursor%;
mih=min-height=%cursor%;
mar=max-resolution=%cursor%;
mir=min-resolution=%cursor%;
ori=orientation=%cursor%;
ori=l=orientation=landscape;
ori=p=orientation=portrait;
ol=outline=%cursor%;
ol=n=outline=none;
olo=outline-offset=%cursor%;
olw=outline-width=%cursor%;
olw=tn=outline-width=thin;
olw=m=outline-width=medium;
olw=tc=outline-width=thick;
ols=outline-style=%cursor%;
ols=n=outline-style=none;
ols=dt=outline-style=dotted;
ols=ds=outline-style=dashed;
ols=s=outline-style=solid;
ols=db=outline-style=double;
ols=g=outline-style=groove;
ols=r=outline-style=ridge;
ols=i=outline-style=inset;
ols=o=outline-style=outset;
olc=outline-color=#%cursor%;
olc=i=outline-color=invert;
bfv=backface-visibility=%cursor%;
bfv=h=backface-visibility=hidden;
bfv=v=backface-visibility=visible;
bd=border=%cursor%;
bd+=border=%cursor% %cursor% %cursor%;
bd=n=border=none;
bdbk=border-break=%cursor%;
bdbk=c=border-break=close;
bdcl=border-collapse=%cursor%;
bdcl=c=border-collapse=collapse;
bdcl=s=border-collapse=separate;
bdc=border-color=#%cursor%;
bdc=t=border-color=transparent;
bdi=border-image=url(%cursor%);
bdi=n=border-image=none;
bdti=border-top-image=url(%cursor%);
bdti=n=border-top-image=none;
bdri=border-right-image=url(%cursor%);
bdri=n=border-right-image=none;
bdbi=border-bottom-image=url(%cursor%);
bdbi=n=border-bottom-image=none;
bdli=border-left-image=url(%cursor%);
bdli=n=border-left-image=none;
bdci=border-corner-image=url(%cursor%);
bdci=n=border-corner-image=none;
bdci=c=border-corner-image=continue;
bdtli=border-top-left-image=url(%cursor%);
bdtli=n=border-top-left-image=none;
bdtli=c=border-top-left-image=continue;
bdtri=border-top-right-image=url(%cursor%);
bdtri=n=border-top-right-image=none;
bdtri=c=border-top-right-image=continue;
bdbri=border-bottom-right-image=url(%cursor%);
bdbri=n=border-bottom-right-image=none;
bdbri=c=border-bottom-right-image=continue;
bdbli=border-bottom-left-image=url(%cursor%);
bdbli=n=border-bottom-left-image=none;
bdbli=c=border-bottom-left-image=continue;
bdf=border-fit=%cursor%;
bdf=border-fit=clip;
bdf=r=border-fit=repeat;
bdf=border-fit=scale;
bdf=border-fit=stretch;
bdf=ow=border-fit=overwrite;
bdf=of=border-fit=overflow;
bdf=sp=border-fit=space;
bdlen=border-length=%cursor%;
bdlen=a=border-length=auto;
bdsp=border-spacing=%cursor%;
bds=border-style=%cursor%;
bds=n=border-style=none;
bds=h=border-style=hidden;
bds=dt=border-style=dotted;
bds=ds=border-style=dashed;
bds=s=border-style=solid;
bds=db=border-style=double;
bds=dtds=border-style=dot-dash;
bds=dtdtds=border-style=dot-dot-dash;
bds=w=border-style=wave;
bds=g=border-style=groove;
bds=r=border-style=ridge;
bds=i=border-style=inset;
bds=o=border-style=outset;
bdw=border-width=%cursor%;
bdtw=border-top-width=%cursor%;
bdrw=border-right-width=%cursor%;
bdbw=border-bottom-width=%cursor%;
bdlw=border-left-width=%cursor%;
bdt=border-top=%cursor%;
bt=border-top=%cursor%;
bdt+=border-top=%cursor% %cursor% %cursor%;
bdt=n=border-top=none;
bdts=border-top-style=%cursor%;
bdts=n=border-top-style=none;
bdtc=border-top-color=#%cursor%;
bdtc=t=border-top-color=transparent;
bdr=border-right=%cursor%;
br=border-right=%cursor%;
bdr+=border-right=%cursor% %cursor% %cursor%;
bdr=n=border-right=none;
bdrst=border-right-style=%cursor%;
bdrst=n=border-right-style=none;
bdrc=border-right-color=#%cursor%;
bdrc=t=border-right-color=transparent;
bdb=border-bottom=%cursor%;
bb=border-bottom=%cursor%;
bdb+=border-bottom=%cursor% %cursor% %cursor%;
bdb=n=border-bottom=none;
bdbs=border-bottom-style=%cursor%;
bdbs=n=border-bottom-style=none;
bdbc=border-bottom-color=#%cursor%;
bdbc=t=border-bottom-color=transparent;
bdl=border-left=%cursor%;
bl=border-left=%cursor%;
bdl+=border-left=%cursor% %cursor% %cursor%;
bdl=n=border-left=none;
bdls=border-left-style=%cursor%;
bdls=n=border-left-style=none;
bdlc=border-left-color=#%cursor%;
bdlc=t=border-left-color=transparent;
bdrs=border-radius=%cursor%;
bdtrrs=border-top-right-radius=%cursor%;
bdtlrs=border-top-left-radius=%cursor%;
bdbrrs=border-bottom-right-radius=%cursor%;
bdblrs=border-bottom-left-radius=%cursor%;
bg=background=#%cursor%;
bg+=background=${1=#fff} url(%cursor%) %cursor% %cursor% %cursor%;
bg=n=background=none;
bg=ie=filter=progid=DXImageTransform.Microsoft.AlphaImageLoader(src='%cursor%.png',sizingMethod='%cursor%');
bgc=background-color=#%cursor%;
bgc=t=background-color=transparent;
bgi=background-image=url(%cursor%);
bgi=n=background-image=none;
bgr=background-repeat=%cursor%;
bgr=n=background-repeat=no-repeat;
bgr=x=background-repeat=repeat-x;
bgr=y=background-repeat=repeat-y;
bgr=sp=background-repeat=space;
bgr=rd=background-repeat=round;
bga=background-attachment=%cursor%;
bga=f=background-attachment=fixed;
bga=s=background-attachment=scroll;
bgp=background-position=%cursor% %cursor%;
bgpx=background-position-x=%cursor%;
bgpy=background-position-y=%cursor%;
bgbk=background-break=%cursor%;
bgbk=bb=background-break=bounding-box;
bgbk=eb=background-break=each-box;
bgbk=c=background-break=continuous;
bgcp=background-clip=%cursor%;
bgcp=bb=background-clip=border-box;
bgcp=pb=background-clip=padding-box;
bgcp=cb=background-clip=content-box;
bgcp=nc=background-clip=no-clip;
bgo=background-origin=%cursor%;
bgo=pb=background-origin=padding-box;
bgo=bb=background-origin=border-box;
bgo=cb=background-origin=content-box;
bgsz=background-size=%cursor%;
bgsz=a=background-size=auto;
bgsz=ct=background-size=contain;
bgsz=cv=background-size=cover;
c=color=#%cursor%;
c=r=color=rgb(%cursor%, %cursor%, %cursor%);
c=ra=color=rgba(%cursor%, %cursor%, %cursor%, .%cursor%);
cm=/* %cursor%%cursor% */;
cnt=content='%cursor%';
cnt=n=content=normal;
cnt=oq=content=open-quote;
cnt=noq=content=no-open-quote;
cnt=cq=content=close-quote;
cnt=ncq=content=no-close-quote;
cnt=a=content=attr(%cursor%);
cnt=c=content=counter(%cursor%);
cnt=cs=content=counters(%cursor%);
tbl=table-layout=%cursor%;
tbl=a=table-layout=auto;
tbl=f=table-layout=fixed;
cps=caption-side=%cursor%;
cps=t=caption-side=top;
cps=b=caption-side=bottom;
ec=empty-cells=%cursor%;
ec=s=empty-cells=show;
ec=h=empty-cells=hide;
lis=list-style=%cursor%;
lis=n=list-style=none;
lisp=list-style-position=%cursor%;
lisp=i=list-style-position=inside;
lisp=o=list-style-position=outside;
list=list-style-type=%cursor%;
list=n=list-style-type=none;
list=d=list-style-type=disc;
list=c=list-style-type=circle;
list=s=list-style-type=square;
list=dc=list-style-type=decimal;
list=dclz=list-style-type=decimal-leading-zero;
list=lr=list-style-type=lower-roman;
list=ur=list-style-type=upper-roman;
lisi=list-style-image=%cursor%;
lisi=n=list-style-image=none;
q=quotes=%cursor%;
q=n=quotes=none;
q=ru=quotes='\\00AB' '\\00BB' '\\201E' '\\201C';
q=en=quotes='\\201C' '\\201D' '\\2018' '\\2019';
ct=content=%cursor%;
ct=n=content=normal;
ct=oq=content=open-quote;
ct=noq=content=no-open-quote;
ct=cq=content=close-quote;
ct=ncq=content=no-close-quote;
ct=a=content=attr(%cursor%);
ct=c=content=counter(%cursor%);
ct=cs=content=counters(%cursor%);
coi=counter-increment=%cursor%;
cor=counter-reset=%cursor%;
va=vertical-align=%cursor%;
va=sup=vertical-align=super;
va=t=vertical-align=top;
va=tt=vertical-align=text-top;
va=m=vertical-align=middle;
va=bl=vertical-align=baseline;
va=b=vertical-align=bottom;
va=tb=vertical-align=text-bottom;
va=sub=vertical-align=sub;
ta=text-align=%cursor%;
ta=l=text-align=left;
ta=c=text-align=center;
ta=r=text-align=right;
ta=j=text-align=justify;
ta-lst=text-align-last=%cursor%;
tal=a=text-align-last=auto;
tal=l=text-align-last=left;
tal=c=text-align-last=center;
tal=r=text-align-last=right;
td=text-decoration=%cursor%;
td=n=text-decoration=none;
td=u=text-decoration=underline;
td=o=text-decoration=overline;
td=l=text-decoration=line-through;
te=text-emphasis=%cursor%;
te=n=text-emphasis=none;
te=ac=text-emphasis=accent;
te=dt=text-emphasis=dot;
te=c=text-emphasis=circle;
te=ds=text-emphasis=disc;
te=b=text-emphasis=before;
te=a=text-emphasis=after;
th=text-height=%cursor%;
th=a=text-height=auto;
th=f=text-height=font-size;
th=t=text-height=text-size;
th=m=text-height=max-size;
ti=text-indent=%cursor%;
ti=-=text-indent=-9999px;
tj=text-justify=%cursor%;
tj=a=text-justify=auto;
tj=iw=text-justify=inter-word;
tj=ii=text-justify=inter-ideograph;
tj=ic=text-justify=inter-cluster;
tj=d=text-justify=distribute;
tj=k=text-justify=kashida;
tj=t=text-justify=tibetan;
tov=text-overflow=%cursor%;
tov=e=text-overflow=ellipsis;
tov=c=text-overflow=clip;
to=text-outline=%cursor%;
to+=text-outline=%cursor% %cursor% %cursor%;
to=n=text-outline=none;
tr=text-replace=%cursor%;
tr=n=text-replace=none;
tt=text-transform=%cursor%;
tt=n=text-transform=none;
tt=c=text-transform=capitalize;
tt=u=text-transform=uppercase;
tt=l=text-transform=lowercase;
tw=text-wrap=%cursor%;
tw=n=text-wrap=normal;
tw=no=text-wrap=none;
tw=u=text-wrap=unrestricted;
tw=s=text-wrap=suppress;
tsh=text-shadow=%cursor% %cursor% %cursor% %cursor%;
tsh=r=text-shadow=%cursor% %cursor% %cursor% rgb(%cursor%, %cursor%, %cursor%);
tsh=ra=text-shadow=%cursor% %cursor% %cursor% rgba(%cursor%, %cursor%, %cursor%, .%cursor%);
tsh+=text-shadow=%cursor% %cursor% %cursor% %cursor%;
tsh=n=text-shadow=none;
trf=transform=%cursor%;
trf=skx=transform=skewX(%cursor%);
trf=sky=transform=skewY(%cursor%);
trf=sc=transform=scale(%cursor%, %cursor%);
trf=scx=transform=scaleX(%cursor%);
trf=scy=transform=scaleY(%cursor%);
trf=scz=transform=scaleZ(%cursor%);
trf=sc3=transform=scale3d(%cursor%, %cursor%, %cursor%);
trf=r=transform=rotate(%cursor%);
trf=rx=transform=rotateX(%cursor%);
trf=ry=transform=rotateY(%cursor%);
trf=rz=transform=rotateZ(%cursor%);
trf=t=transform=translate(%cursor%, %cursor%);
trf=tx=transform=translateX(%cursor%);
trf=ty=transform=translateY(%cursor%);
trf=tz=transform=translateZ(%cursor%);
trf=t3=transform=translate3d(%cursor%, %cursor%, %cursor%);
trfo=transform-origin=%cursor%;
trfs=transform-style=%cursor%;
trs=transition=%cursor% %cursor%;
trsde=transition-delay=%cursor%;
trsdu=transition-duration=%cursor%;
trsp=transition-property=%cursor%;
trstf=transition-timing-function=%cursor%;
lh=line-height=%cursor%;
whs=white-space=%cursor%;
whs=n=white-space=normal;
whs=p=white-space=pre;
whs=nw=white-space=nowrap;
whs=pw=white-space=pre-wrap;
whs=pl=white-space=pre-line;
whsc=white-space-collapse=%cursor%;
whsc=n=white-space-collapse=normal;
whsc=k=white-space-collapse=keep-all;
whsc=l=white-space-collapse=loose;
whsc=bs=white-space-collapse=break-strict;
whsc=ba=white-space-collapse=break-all;
wob=word-break=%cursor%;
wob=n=word-break=normal;
wob=k=word-break=keep-all;
wob=ba=word-break=break-all;
wos=word-spacing=%cursor%;
wow=word-wrap=%cursor%;
wow=nm=word-wrap=normal;
wow=n=word-wrap=none;
wow=u=word-wrap=unrestricted;
wow=s=word-wrap=suppress;
wow=b=word-wrap=break-word;
wm=writing-mode=%cursor%;
wm=lrt=writing-mode=lr-tb;
wm=lrb=writing-mode=lr-bt;
wm=rlt=writing-mode=rl-tb;
wm=rlb=writing-mode=rl-bt;
wm=tbr=writing-mode=tb-rl;
wm=tbl=writing-mode=tb-lr;
wm=btl=writing-mode=bt-lr;
wm=btr=writing-mode=bt-rl;
lts=letter-spacing=%cursor%;
lts-n=letter-spacing=normal;
f=font=%cursor%;
f+=font=%cursor% ${2=Arial,sans-serif};
fw=font-weight=%cursor%;
fw=n=font-weight=normal;
fw=b=font-weight=bold;
fw=br=font-weight=bolder;
fw=lr=font-weight=lighter;
fs=font-style=%cursor%;
fs=n=font-style=normal;
fs=i=font-style=italic;
fs=o=font-style=oblique;
fv=font-variant=%cursor%;
fv=n=font-variant=normal;
fv=sc=font-variant=small-caps;
fz=font-size=%cursor%;
fza=font-size-adjust=%cursor%;
fza=n=font-size-adjust=none;
ff=font-family=%cursor%;
ff=s=font-family=serif;
ff=ss=font-family=sans-serif;
ff=c=font-family=cursive;
ff=f=font-family=fantasy;
ff=m=font-family=monospace;
ff=a=font-family=Arial, \Helvetica Neue\; Helvetica, sans-serif;
ff=t=font-family=\Times New Roman\; Times, Baskerville, Georgia, serif;
ff=v=font-family=Verdana, Geneva, sans-serif;
fef=font-effect=%cursor%;
fef=n=font-effect=none;
fef=eg=font-effect=engrave;
fef=eb=font-effect=emboss;
fef=o=font-effect=outline;
fem=font-emphasize=%cursor%;
femp=font-emphasize-position=%cursor%;
femp=b=font-emphasize-position=before;
femp=a=font-emphasize-position=after;
fems=font-emphasize-style=%cursor%;
fems=n=font-emphasize-style=none;
fems=ac=font-emphasize-style=accent;
fems=dt=font-emphasize-style=dot;
fems=c=font-emphasize-style=circle;
fems=ds=font-emphasize-style=disc;
fsm=font-smooth=%cursor%;
fsm=a=font-smooth=auto;
fsm=n=font-smooth=never;
fsm=aw=font-smooth=always;
fst=font-stretch=%cursor%;
fst=n=font-stretch=normal;
fst=uc=font-stretch=ultra-condensed;
fst=ec=font-stretch=extra-condensed;
fst=c=font-stretch=condensed;
fst=sc=font-stretch=semi-condensed;
fst=se=font-stretch=semi-expanded;
fst=e=font-stretch=expanded;
fst=ee=font-stretch=extra-expanded;
fst=ue=font-stretch=ultra-expanded;
op=opacity=%cursor%;
op+=opacity=$1;\nfilter=alpha(opacity=$2);
op=ie=filter=progid=DXImageTransform.Microsoft.Alpha(Opacity=100);
op=ms=-ms-filter='progid=DXImageTransform.Microsoft.Alpha(Opacity=100)';
rsz=resize=%cursor%;
rsz=n=resize=none;
rsz=b=resize=both;
rsz=h=resize=horizontal;
rsz=v=resize=vertical;
cur=cursor=%cursor%;
cur=a=cursor=auto;
cur=d=cursor=default;
cur=c=cursor=crosshair;
cur=ha=cursor=hand;
cur=he=cursor=help;
cur=m=cursor=move;
cur=p=cursor=pointer;
cur=t=cursor=text;
fxd=flex-direction=%cursor%;
fxd=r=flex-direction=row;
fxd=rr=flex-direction=row-reverse;
fxd=c=flex-direction=column;
fxd=cr=flex-direction=column-reverse;
fxw=flex-wrap=%cursor%;
fxw=n=flex-wrap=nowrap;
fxw=w=flex-wrap=wrap;
fxw=wr=flex-wrap=wrap-reverse;
fxf=flex-flow=%cursor%;
jc=justify-content=%cursor%;
jc=fs=justify-content=flex-start;
jc=fe=justify-content=flex-end;
jc=c=justify-content=center;
jc=sb=justify-content=space-between;
jc=sa=justify-content=space-around;
ai=align-items=%cursor%;
ai=fs=align-items=flex-start;
ai=fe=align-items=flex-end;
ai=c=align-items=center;
ai=b=align-items=baseline;
ai=s=align-items=stretch;
ac=align-content=%cursor%;
ac=fs=align-content=flex-start;
ac=fe=align-content=flex-end;
ac=c=align-content=center;
ac=sb=align-content=space-between;
ac=sa=align-content=space-around;
ac=s=align-content=stretch;
ord=order=%cursor%;
fxg=flex-grow=%cursor%;
fxsh=flex-shrink=%cursor%;
fxb=flex-basis=%cursor%;
fx=flex=%cursor%;
as=align-self=%cursor%;
as=a=align-self=auto;
as=fs=align-self=flex-start;
as=fe=align-self=flex-end;
as=c=align-self=center;
as=b=align-self=baseline;
as=s=align-self=stretch;
pgbb=page-break-before=%cursor%;
pgbb=au=page-break-before=auto;
pgbb=al=page-break-before=always;
pgbb=l=page-break-before=left;
pgbb=r=page-break-before=right;
pgbi=page-break-inside=%cursor%;
pgbi=au=page-break-inside=auto;
pgbi=av=page-break-inside=avoid;
pgba=page-break-after=%cursor%;
pgba=au=page-break-after=auto;
pgba=al=page-break-after=always;
pgba=l=page-break-after=left;
pgba=r=page-break-after=right;
orp=orphans=%cursor%;
us=user-select=%cursor%;
wid=widows=%cursor%;
wfsm=-webkit-font-smoothing=%cursor%;
wfsm=a=-webkit-font-smoothing=antialiased;
wfsm=s=-webkit-font-smoothing=subpixel-antialiased;
wfsm=sa=-webkit-font-smoothing=subpixel-antialiased;
wfsm=n=-webkit-font-smoothing=none;
[Javascript]
jready=$(document).ready(function(){\n\t%cursor%\n});
jfunc=$(function(){\n\t%cursor%\n});
log=console.log('%cursor%');
[LaTeX]
# by Frank Lanitz
frame=\\begin{frame}\n%ws%\\frametitle{%cursor%}\n%ws%%cursor%\n\\end{frame}
block=\\begin{block}{%cursor%}\n%ws%%cursor%\n\\end{block}
itemize=\\begin{itemize}\n%ws%\\item %cursor%\n\\end{itemize}
enumerate=\\begin{enumerate}\n%ws%\\item %cursor%\n\\end{enumerate}
description=\\begin{description}\n%ws%\\item %cursor%\n\\end{description}
[Tcl]
# by Witek Mozga
proc=proc %cursor% { } {\n\t\n} ; # end proc
namespace=namespace eval %cursor% {\n\t\n}; # end namespace
expr=expr { %cursor% }
oo=oo::class create %cursor% {\n\t\n}; # end class
for=for {set i 0} {$i < %cursor%} {incr i} {\n\t\n} ; # end for
while=while { $%cursor% } {\n\t\n} ; # end while
foreach=foreach x $%cursor% {\n\t\n} ; # end foreach
if=if { $%cursor% } {\n\t\n} ; # end if
else=else {\n\t\n} ; # end else
elseif=elseif { $%cursor% } {\n\t\n} ; # end elseif
switch=switch %cursor% {\n\t\n\tdefault { }\n} ; # end switch
set=set %cursor% { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment