14 Commits

Author SHA1 Message Date
Nick Treleaven
a274363275 Move HTML automatic <table> tag completion into a 'table' snippet
so the user can decide when to use it (patch by Eugene Arshinov,
thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5320 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-25 16:07:15 +00:00
Nick Treleaven
1b6b5210eb Read snippet keybindings from system keyfile also.
Add keybinding example to default snippet.conf.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5278 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-04 14:29:44 +00:00
Enrico Tröger
c5867895f9 Add dummy entry for "do" snippet for Haskell to explicitly avoid the default completion.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5203 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-29 11:45:00 +00:00
Nick Treleaven
c6c19ad5b3 Add a space after 'while' for do...while statement.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4785 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-25 13:51:07 +00:00
Enrico Tröger
d461084743 Add new special template wildcard "{command:...}" to use the output of a command in templates.
Adjust template functions to mostly work with GeanyDocuments.
Minor cleanups in the template code.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4539 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-24 14:52:46 +00:00
Enrico Tröger
d0f2a8c5c6 Replace the last occurrences of %n% with \n\t. Sorry.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3555 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-05 20:16:35 +00:00
Enrico Tröger
f1bde0ead3 Fix another typo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3554 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-05 20:05:07 +00:00
Enrico Tröger
bd2d677d84 Support multiple %cursor% wildcards in Snippets. To switch between %cursor% wildcards, use the new keybinding 'Move cursor in snippet' (patch by Thomas Martitz, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3461 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-11 21:05:03 +00:00
Nick Treleaven
b5b26551e8 Snippet indentation will be replaced according to indent mode.
Minor edit of snippet docs.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3385 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-16 13:26:39 +00:00
Enrico Tröger
2634044117 Add some default snippets for Python (patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3293 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-29 12:52:44 +00:00
Enrico Tröger
d3adc32c19 Add support to use template wildcards in snippets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2773 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-13 10:52:38 +00:00
Enrico Tröger
8eaf9f89a5 Add missing colon to "for" snippet for Python and set cursor position
(thanks mamaar on IRC).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2384 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 18:24:21 +00:00
Enrico Tröger
31f0ab5e07 Add better "for" completion for Python.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2379 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 15:58:21 +00:00
Enrico Tröger
4b43e762d0 Rename "Contruct autocompletion" to "Snippets".
Allow changing height of the symbol completion list even if automatic symbol is disabled, it still can be forced by keybinding.	 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2044 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-12 09:27:43 +00:00