1099 Commits

Author SHA1 Message Date
capitaomorte
9e9f5f477c Commenting... 2009-07-07 17:19:56 +00:00
capitaomorte
7ce15312a7 Commenting... 2009-07-07 17:15:32 +00:00
capitaomorte
e0308fa495 * stacked expansion tricky tricky, but is working and undo/redo seems reasonablt OK
* will try to let the modification hooks do the previous-field advancing but I really don't know if its possible
* also remember to fix the "navigate to deleted field on undo" bug
2009-07-07 16:04:03 +00:00
capitaomorte
5f5e23c829 a minor change, having trouble debugging on mac 2009-07-06 21:38:41 +00:00
capitaomorte
6354579eed * stacked edition not quite perfect yet, otherwise everything looking good 2009-07-06 14:53:01 +00:00
capitaomorte
b56563de60 * stacked expansion is tricky, but can be done
* yas/minor-mode should be needed to expand snippets, this means hooks last while snippets last
* will probably *not* fix this bug: ${1:nested{2:thing}} when "thing" is changed "nested"'s end marker doens't move
2009-07-06 10:08:13 +00:00
capitaomorte
354580b8f7 * field protection problem solved, I guess
* on to the transformations, escapes and indent
2009-07-05 22:28:21 +00:00
capitaomorte
f31a071457 * a little bit of trouble with protection after C-d or deletions, but nothing too serious... 2009-07-05 22:17:22 +00:00
capitaomorte
514243f5b9 * Changed the approach yet again, this is it, this should work... 2009-07-05 20:20:59 +00:00
capitaomorte
97608378d3 * got rid of yas/registered-snippets
* undo/redo much smoother
* hooks last while yas/minor-mode is t (this may be changed)
2009-07-04 20:12:49 +00:00
capitaomorte
0932310893 snippet revival working relatively OK, but need to work on undoing an expansion 2009-07-03 15:04:49 +00:00
capitaomorte
3f9b630d95 * Much better way of calculating a fields visible value, but some subtle bugs.
* TODO: exit snippet if the yas/active-field-overlay is exited
* TODO: kill all field text on first keystroke
* TODO: handle border cases with empty/near empty active field overlays
* TODO: handle escapes
* TODO: handle nested snippets
2009-07-02 21:56:23 +00:00
capitaomorte
f790e77e7c rudimentary undo, very buggy, but this is the way to go 2009-07-02 12:51:08 +00:00
capitaomorte
333d48d731 Going OK, next step is to handler the feared undo/redo! 2009-07-02 09:59:12 +00:00
capitaomorte
25c4e884ae * lookin' good, next step: protecting the hidden overlays from modification somehow... 2009-07-01 22:15:00 +00:00
capitaomorte
42f8345780 Trashed prior implementation of nested snippets and now going full steam on a much better one (I hope...) 2009-07-01 16:58:46 +00:00
capitaomorte
14735e1ba0 Trashed prior implementation of nested snippets and now going full steam on a much better one (I hope...) 2009-07-01 16:58:39 +00:00
Zhang Chiyuan
11a94af52a Added the 'label' snippet for html mode 2009-06-04 13:28:31 +00:00
Zhang Chiyuan
71ab2a18ed More select key for dropdown list (Issue 58) 2009-03-21 15:28:20 +00:00
Zhang Chiyuan
42bb30967b Added a snippet 'prop' for python-mode 2009-03-21 07:08:41 +00:00
Zhang Chiyuan
a01b5eb76c Make initial selection for drop-down. Thanks Brandon Moore. 2009-02-27 15:20:45 +00:00
Zhang Chiyuan
84ac5bd613 Added some snippets for elisp-mode from Xah Lee. 2009-02-25 05:23:31 +00:00
Zhang Chiyuan
28aacbc7c1 Preparing for 0.5.10 release 2009-02-11 09:39:51 +00:00
Zhang Chiyuan
51bd26520c no need for a separate yas/compile-bundle-for-elpa function 2009-02-10 05:34:27 +00:00
Zhang Chiyuan
29d3991eb7 Modified yas/compile-bundle to make the bundle ELPA compatible 2009-02-10 05:29:05 +00:00
Zhang Chiyuan
69bd61b9b2 Added escape syntax rule support for latex-mode 2009-02-08 04:35:18 +00:00
Zhang Chiyuan
842c3a84ce Added a 'template' snippet for c++-mode 2009-02-04 11:08:59 +00:00
Zhang Chiyuan
1ad1be7732 Make the intro doc more friendly to newbie 2009-01-30 05:08:04 +00:00
Zhang Chiyuan
36455f570d Updated the introduction doc, thanks Xah Lee for contributing this description 2009-01-28 11:32:20 +00:00
Zhang Chiyuan
f4dd4094fd Set mime-type for css files 2009-01-28 10:51:02 +00:00
Zhang Chiyuan
34b389d2ad Add svn mime-type to enable online viewing 2009-01-28 10:48:32 +00:00
Zhang Chiyuan
34f2be0b88 Update doc for grouping 2009-01-28 10:43:48 +00:00
Zhang Chiyuan
64e5027d10 Added grouping support for snippets (Issue 30) 2009-01-28 07:04:27 +00:00
capitaomorte
795c08dddc 2009-01-23 14:38:15 +00:00
Zhang Chiyuan
11f4a94680 Avoid recursively calling yas/expand 2009-01-21 02:43:29 +00:00
Zhang Chiyuan
3afb7baa28 Forget to check in 0.5.8 version 2009-01-20 14:34:10 +00:00
Zhang Chiyuan
d4b0325911 override c-electric- serial function in yas/keymap instead of yas-minor-mode-map. 2009-01-19 14:10:27 +00:00
Zhang Chiyuan
b8cb1d27f4 Do not restrict all electric- serial functions of cc-mode 2009-01-19 14:02:57 +00:00
Zhang Chiyuan
8fa2c47406 A workaround for fixing c-electric- serial command (Issue 27) 2009-01-15 07:34:30 +00:00
Zhang Chiyuan
37281e3a30 Fixed Issue 49 (It is almost the same to Issue 48, and due to some accidentally removal of code when in revision 281) 2009-01-15 07:18:06 +00:00
Zhang Chiyuan
c8b94d14c5 Fixed the bug of empty overlay (Issue 48), thanks some.any.key 2008-12-25 15:16:11 +00:00
Zhang Chiyuan
6d9f7a5048 Fixed the bug where yas/registered-snippet may not be properly initialized. 2008-12-12 15:21:10 +00:00
Zhang Chiyuan
de37bc0269 fix a 'bug' in the class snippet for c++-mode 2008-12-12 05:45:36 +00:00
Zhang Chiyuan
acf04d6952 Added yas/substr for convenient mirror transformation 2008-12-12 05:42:53 +00:00
Zhang Chiyuan
1c0d664d65 Fixed the bug of not indenting well in narrowed region (Issue 46). 2008-12-12 05:19:03 +00:00
Zhang Chiyuan
709463d19e Use updated version of python class snippet from sverre.johansen 2008-12-12 05:01:50 +00:00
Zhang Chiyuan
76028bf06c Fixed the bug of the default code assigned to yas/buffer-local-condition (Issue 45) 2008-12-11 05:50:00 +00:00
Zhang Chiyuan
885494084f Fixed the error of $> without overlay (Issue 44). 2008-12-11 05:44:10 +00:00
Zhang Chiyuan
28a6515c61 Restore the original simple class snippet from r223 (Issue 40) 2008-12-11 05:29:54 +00:00
Zhang Chiyuan
023d584cbe update faq for #key property 2008-12-09 16:56:20 +00:00