gedit r6788 - trunk/plugins/snippets/data
- From: pborelli svn gnome org
- To: svn-commits-list gnome org
- Subject: gedit r6788 - trunk/plugins/snippets/data
- Date: Thu, 1 Jan 2009 20:55:06 +0000 (UTC)
Author: pborelli
Date: Thu Jan 1 20:55:06 2009
New Revision: 6788
URL: http://svn.gnome.org/viewvc/gedit?rev=6788&view=rev
Log:
add a case snippet
Modified:
trunk/plugins/snippets/data/sh.xml
Modified: trunk/plugins/snippets/data/sh.xml
==============================================================================
--- trunk/plugins/snippets/data/sh.xml (original)
+++ trunk/plugins/snippets/data/sh.xml Thu Jan 1 20:55:06 2009
@@ -6,6 +6,18 @@
<description>elif ..</description>
<tag>elif</tag>
</snippet>
+ <snippet id="case">
+ <text><![CDATA[case ${1:choice} in
+${2:first})
+ $3
+ ;;
+*)
+ $4
+ ;;
+esac]]></text>
+ <description>case ..</description>
+ <tag>case</tag>
+ </snippet>
<snippet id="for">
<text><![CDATA[for (( ${1:i = 0}; ${2:i < 10}; ${3:i++} )); do
$0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]