gedit r5417 - in trunk: . plugins/snippets/snippets



Author: jessevdk
Date: 2007-01-07 16:57:12 +0000 (Sun, 07 Jan 2007)
New Revision: 5417
ViewCVS link: http://svn.gnome.org/viewcvs/gedit?rev=5417&view=rev

Modified:
   trunk/ChangeLog
   trunk/plugins/snippets/snippets/Snippet.py
   trunk/plugins/snippets/snippets/SnippetPlaceholders.py
Log:
	* plugins/snippets/snippets/SnippetPlaceholders.py:
	* plugins/snippets/snippets/Snippet.py:
	
	Add support for default alternatives by the following syntax:
	${1:ENV_VAR:alternative}. The list of defaults (colon separated) is
	being traversed as long as the default is empty (useful for having
	alternatives for empty environment variables). (fixes #354643)
	
	Add support for tabstops for python and shell placeholders. Python
	and shell placeholders that don't depend (either explicit or implicit)
	on other placeholders can now be reached via <tab> (fixes #354643)





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]