Commit Graph

1445 Commits

Author SHA1 Message Date
Holger Rapp
26abb41bfa Removed Ruby snippets. I do not know enough of this language to clean those snippets up. Please contribute some. 2010-08-15 14:23:46 +02:00
Holger Rapp
a6c0cdef7f Cleaned up objective C snippets 2010-08-15 14:22:49 +02:00
Holger Rapp
6bcbc40d5d Cleaned CSS snippets up. 2010-08-15 13:53:05 +02:00
Holger Rapp
5803910060 Merged ryans regular expression trigger branch 2010-08-10 10:35:54 +02:00
Holger Rapp
4e966e1a05 Fixed some whitespaces 2010-08-10 10:25:37 +02:00
rygwdn@gmail.com
deecdc8c49 added some in-code documentation to clarify the changes. 2010-08-09 09:34:09 -03:00
rygwdn@gmail.com
e9e3c3bb0e minor fix for python snippets. 2010-08-09 09:09:38 -03:00
rygwdn@gmail.com
64debe1231 fixed lorem ipsum snippet, and upgraded "self." snippet. 2010-08-09 07:31:20 -03:00
rygwdn@gmail.com
64eaac4f9a added docs for new functionality and test for example in docs. 2010-08-08 22:15:34 -03:00
rygwdn@gmail.com
4a3b2310ab give match object to python blocks. 2010-08-08 21:49:03 -03:00
rygwdn@gmail.com
4851a8277e Added support for multi-word snippets. 2010-08-08 21:32:36 -03:00
rygwdn@gmail.com
1167fd6729 added basic regular expression matching. 2010-08-08 19:29:46 -03:00
rygwdn@gmail.com
b5c8a32762 added new "matched" property on snippet. contains the last string that matched the snippet. 2010-08-08 16:16:24 -03:00
rygwdn@gmail.com
fb54432ff0 more work on the refactor. most duplicated code is gone now. 2010-08-08 08:23:24 -03:00
rygwdn@gmail.com
4e0102b3fa started refactor of _try_expand and list_snippets. 2010-08-08 07:57:28 -03:00
Holger Rapp
76b5ce1eb0 Whitespace fixes and python 2.5 compatibility 2010-08-02 15:22:18 +02:00
Holger Rapp
1f5771989c Merged ryans awesome python improvements 2010-08-02 15:21:03 +02:00
rygwdn@gmail.com
462b9cdf77 updated deprecation messages, and updated (and documented) the way
"snip.rv" works.
2010-07-30 21:54:51 -03:00
rygwdn@gmail.com
897cca031e Added option to use doxygen style comments in smart def and smart class. 2010-07-30 21:47:36 -03:00
rygwdn@gmail.com
f88076636e Updated snippets to use new "snip" object. 2010-07-30 21:29:40 -03:00
rygwdn@gmail.com
e6759cd03f added fn, basename and ft properties to SnippetUtil. 2010-07-30 21:21:05 -03:00
rygwdn@gmail.com
d6c174e9df merged with upstream 2010-07-29 23:11:46 -03:00
rygwdn@gmail.com
54e849b71b Updated documentation for new/changed functionality. 2010-07-29 23:02:15 -03:00
rygwdn@gmail.com
6a98c5439d typo fixes! 2010-07-29 22:42:38 -03:00
rygwdn@gmail.com
784097cd21 added unit tests for new python snippetutil. 2010-07-29 22:38:24 -03:00
rygwdn@gmail.com
64500f6188 - removed some hacks from testing.
- removed "first" variable hack.
- made some variables more consistent.
- cleaned up indentation code.
- added "opt".
- hand the right things into SnippetUtil.
2010-07-29 22:35:53 -03:00
rygwdn@gmail.com
d7ccf9f711 improved mkline, added syntatic sugar, rv, c, and locals.
rv contains the return value, c contains the current contents.
mkline can now append directly to rv.
locals is a dict which replaces the dictionary style access to snippetutil.
added syntatic sugar for:
- appending lines to the snippet with the default indentation (snip += "blah").
- shifting (>>) and unshifting (<<) by an amount
2010-07-27 22:18:22 -03:00
Holger Rapp
b437f30fc7 Applied patch from Chris Chambers 2010-07-12 14:52:12 +02:00
rygwdn@gmail.com
ee7c23bb89 Added myself to the contributors lists 2010-06-05 11:22:55 -03:00
rygwdn@gmail.com
41441c40a0 added example of using snip for snippet-local data 2010-05-16 21:53:52 -03:00
rygwdn@gmail.com
67d1b65aa7 removed another extra print, and fixed some comments 2010-05-16 21:38:55 -03:00
Ryan Wooden
c72307c19d removed a print statement which was causing unit tests to fail 2010-05-16 20:23:02 -03:00
rygwdn@gmail.com
513a635c51 use a helper object, rather than replacing 'res', also provide 'snippet-local' variables 2010-05-16 19:34:44 -03:00
rygwdn@gmail.com
e8125051d3 Added PythonResult class to handle indentation, etc automatically. Modified my python snippets to use it. 2010-05-16 15:22:16 -03:00
rygwdn@gmail.com
52be5df6ef Shortened the variable name, and added documentation. 2010-05-16 02:19:55 -03:00
rygwdn@gmail.com
8f7cdb9c69 added new 'smart def' and 'smart class' for python using new indent info 2010-05-16 02:08:46 -03:00
rygwdn@gmail.com
741686603a Added initial_indent to python context 2010-05-16 02:03:36 -03:00
Holger Rapp
ee1b3aa29b Python, smart def by Alec Thomas 2010-03-05 14:37:28 +01:00
Holger Rapp
a8ad930f67 Ignore .bzr-repo 2010-03-05 14:31:40 +01:00
Holger Rapp
5214f93a3c Fixed a documentation bug. Patch by Gregor Muellegger 2010-01-28 13:54:33 +01:00
Holger Rapp
1ad7a791d9 Trivial change to get tags removed 2010-01-25 16:34:59 +01:00
Holger Rapp
af0ff03b82 Trivial change to get tags removed 2010-01-25 16:34:10 +01:00
Holger Rapp
a3acc40b96 Fixed a type in tex snippets 2010-01-20 17:38:37 +01:00
Holger Rapp
358745803f Merged with trunk 2009-11-10 11:08:21 +01:00
Holger Rapp
683266071c Added some snippets for REST 2009-11-10 11:07:23 +01:00
Holger Rapp
adb5be2d54 Added clearsnippets to Changelog 2009-10-16 14:10:18 +02:00
Holger Rapp
5d116bac33 Merged with clearsnippets branch from Michael Henry. Only very minor changes on my part 2009-10-13 09:56:12 +02:00
Holger Rapp
df7c03cac7 Added lorem ipsum text 2009-09-23 11:42:14 +02:00
Holger Rapp
31cd328236 Cleaned python 2.6 workaround up a bit 2009-09-17 14:26:57 +02:00
Holger Rapp
e12f7f3b9c Fixes for python 2.6 2009-09-17 14:11:43 +02:00