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

@@ -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}>