SF.net SVN: geany: [2384] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Mar 21 18:24:27 UTC 2008


Revision: 2384
          http://geany.svn.sourceforge.net/geany/?rev=2384&view=rev
Author:   eht16
Date:     2008-03-21 11:24:21 -0700 (Fri, 21 Mar 2008)

Log Message:
-----------
Add missing colon to "for" snippet for Python and set cursor position
(thanks mamaar on IRC).

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/data/snippets.conf

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-03-21 17:12:19 UTC (rev 2383)
+++ trunk/ChangeLog	2008-03-21 18:24:21 UTC (rev 2384)
@@ -11,6 +11,9 @@
  * tagmanager/tcl.c, src/symbols.c:
    Update TCL parser from CTags SVN which adds new symbol types for
    classes and methods (closes #1918748).
+ * data/snippets.conf:
+   Add missing colon to "for" snippet for Python and set cursor position
+   (thanks mamaar on IRC).
 
 
 2008-03-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/data/snippets.conf
===================================================================
--- trunk/data/snippets.conf	2008-03-21 17:12:19 UTC (rev 2383)
+++ trunk/data/snippets.conf	2008-03-21 18:24:21 UTC (rev 2384)
@@ -43,7 +43,7 @@
 for=for ($i = 0; $i < %cursor%; $i++)%brace_open%\n%brace_close%
 
 [Python]
-for=for i in range()\n\t
+for=for i in xrange(%cursor%):\n\t
 
 [Ferite]
 iferr=iferr%block_cursor%fix%block%


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list