Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
snippets:python:start [2015/11/29 14:09] – Added an "alternative" snippet devyncjohnsonsnippets:python:start [2019/11/18 05:08] (current) – Remove double 'the' spotlightkid
Line 3: Line 3:
 The Python snippets are inspired by Gedit.  The Python snippets are inspired by Gedit. 
  
-Just copy the the [Special] and [Python] sections from the code below into your snippets file, e.g. in //~/.config/geany/snippets.conf//.+Just copy the [Special] and [Python] sections from the code below into your snippets file, e.g. in //~/.config/geany/snippets.conf//.
  
  
-<code>+<code properties>
 [Special] [Special]
 wordchars=._abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 wordchars=._abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
Line 38: Line 38:
 Modified Specifically for Python3 and PEP8-compliant Modified Specifically for Python3 and PEP8-compliant
  
-<code>[Python]+<code properties>[Python]
 utf8=#-*- coding: utf-8 -*-\n# vim:fileencoding=utf-8 utf8=#-*- coding: utf-8 -*-\n# vim:fileencoding=utf-8
 for=for i in xrange(%cursor%):\n\t for=for i in xrange(%cursor%):\n\t
Print/export