Commit Graph

  • 9e9f5f477c Commenting... capitaomorte 2009-07-07 17:19:56 +00:00
  • 7ce15312a7 Commenting... capitaomorte 2009-07-07 17:15:32 +00:00
  • 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 capitaomorte 2009-07-07 16:04:03 +00:00
  • 5f5e23c829 a minor change, having trouble debugging on mac capitaomorte 2009-07-06 21:38:41 +00:00
  • 6354579eed * stacked edition not quite perfect yet, otherwise everything looking good capitaomorte 2009-07-06 14:53:01 +00:00
  • 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 capitaomorte 2009-07-06 10:08:13 +00:00
  • 354580b8f7 * field protection problem solved, I guess * on to the transformations, escapes and indent capitaomorte 2009-07-05 22:28:21 +00:00
  • f31a071457 * a little bit of trouble with protection after C-d or deletions, but nothing too serious... capitaomorte 2009-07-05 22:17:22 +00:00
  • 514243f5b9 * Changed the approach yet again, this is it, this should work... capitaomorte 2009-07-05 20:20:59 +00:00
  • 97608378d3 * got rid of yas/registered-snippets * undo/redo much smoother * hooks last while yas/minor-mode is t (this may be changed) capitaomorte 2009-07-04 20:12:49 +00:00
  • 0932310893 snippet revival working relatively OK, but need to work on undoing an expansion capitaomorte 2009-07-03 15:04:49 +00:00
  • 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 capitaomorte 2009-07-02 21:56:23 +00:00
  • f790e77e7c rudimentary undo, very buggy, but this is the way to go capitaomorte 2009-07-02 12:51:08 +00:00
  • 333d48d731 Going OK, next step is to handler the feared undo/redo! capitaomorte 2009-07-02 09:59:12 +00:00
  • 25c4e884ae * lookin' good, next step: protecting the hidden overlays from modification somehow... capitaomorte 2009-07-01 22:15:00 +00:00
  • 42f8345780 Trashed prior implementation of nested snippets and now going full steam on a much better one (I hope...) capitaomorte 2009-07-01 16:58:46 +00:00
  • 14735e1ba0 Trashed prior implementation of nested snippets and now going full steam on a much better one (I hope...) capitaomorte 2009-07-01 16:58:39 +00:00
  • 11a94af52a Added the 'label' snippet for html mode Zhang Chiyuan 2009-06-04 13:28:31 +00:00
  • 71ab2a18ed More select key for dropdown list (Issue 58) Zhang Chiyuan 2009-03-21 15:28:20 +00:00
  • 42bb30967b Added a snippet 'prop' for python-mode Zhang Chiyuan 2009-03-21 07:08:41 +00:00
  • a01b5eb76c Make initial selection for drop-down. Thanks Brandon Moore. Zhang Chiyuan 2009-02-27 15:20:45 +00:00
  • 84ac5bd613 Added some snippets for elisp-mode from Xah Lee. Zhang Chiyuan 2009-02-25 05:23:31 +00:00
  • 28aacbc7c1 Preparing for 0.5.10 release Zhang Chiyuan 2009-02-11 09:39:51 +00:00
  • 51bd26520c no need for a separate yas/compile-bundle-for-elpa function Zhang Chiyuan 2009-02-10 05:34:27 +00:00
  • 29d3991eb7 Modified yas/compile-bundle to make the bundle ELPA compatible Zhang Chiyuan 2009-02-10 05:29:05 +00:00
  • 69bd61b9b2 Added escape syntax rule support for latex-mode Zhang Chiyuan 2009-02-08 04:35:18 +00:00
  • 842c3a84ce Added a 'template' snippet for c++-mode Zhang Chiyuan 2009-02-04 11:08:59 +00:00
  • 1ad1be7732 Make the intro doc more friendly to newbie Zhang Chiyuan 2009-01-30 05:08:04 +00:00
  • 36455f570d Updated the introduction doc, thanks Xah Lee for contributing this description Zhang Chiyuan 2009-01-28 11:32:20 +00:00
  • f4dd4094fd Set mime-type for css files Zhang Chiyuan 2009-01-28 10:51:02 +00:00
  • 34b389d2ad Add svn mime-type to enable online viewing Zhang Chiyuan 2009-01-28 10:48:32 +00:00
  • 34f2be0b88 Update doc for grouping Zhang Chiyuan 2009-01-28 10:43:48 +00:00
  • 64e5027d10 Added grouping support for snippets (Issue 30) Zhang Chiyuan 2009-01-28 07:04:27 +00:00
  • 795c08dddc capitaomorte 2009-01-23 14:38:15 +00:00
  • 11f4a94680 Avoid recursively calling yas/expand Zhang Chiyuan 2009-01-21 02:43:29 +00:00
  • 3afb7baa28 Forget to check in 0.5.8 version Zhang Chiyuan 2009-01-20 14:34:10 +00:00
  • d4b0325911 override c-electric- serial function in yas/keymap instead of yas-minor-mode-map. Zhang Chiyuan 2009-01-19 14:10:27 +00:00
  • b8cb1d27f4 Do not restrict all electric- serial functions of cc-mode Zhang Chiyuan 2009-01-19 14:02:57 +00:00
  • 8fa2c47406 A workaround for fixing c-electric- serial command (Issue 27) Zhang Chiyuan 2009-01-15 07:34:30 +00:00
  • 37281e3a30 Fixed Issue 49 (It is almost the same to Issue 48, and due to some accidentally removal of code when in revision 281) Zhang Chiyuan 2009-01-15 07:18:06 +00:00
  • c8b94d14c5 Fixed the bug of empty overlay (Issue 48), thanks some.any.key Zhang Chiyuan 2008-12-25 15:16:11 +00:00
  • 6d9f7a5048 Fixed the bug where yas/registered-snippet may not be properly initialized. Zhang Chiyuan 2008-12-12 15:21:10 +00:00
  • de37bc0269 fix a 'bug' in the class snippet for c++-mode Zhang Chiyuan 2008-12-12 05:45:36 +00:00
  • acf04d6952 Added yas/substr for convenient mirror transformation Zhang Chiyuan 2008-12-12 05:42:53 +00:00
  • 1c0d664d65 Fixed the bug of not indenting well in narrowed region (Issue 46). Zhang Chiyuan 2008-12-12 05:19:03 +00:00
  • 709463d19e Use updated version of python class snippet from sverre.johansen Zhang Chiyuan 2008-12-12 05:01:50 +00:00
  • 76028bf06c Fixed the bug of the default code assigned to yas/buffer-local-condition (Issue 45) Zhang Chiyuan 2008-12-11 05:50:00 +00:00
  • 885494084f Fixed the error of $> without overlay (Issue 44). Zhang Chiyuan 2008-12-11 05:44:10 +00:00
  • 28a6515c61 Restore the original simple class snippet from r223 (Issue 40) Zhang Chiyuan 2008-12-11 05:29:54 +00:00
  • 023d584cbe update faq for #key property Zhang Chiyuan 2008-12-09 16:56:20 +00:00
  • 70191eb0d9 Accept patch from dima.exe to add #key in template file (Issue 43) Zhang Chiyuan 2008-12-09 16:46:48 +00:00
  • 6e6aa80b1c Moved objc-mode directory into cc-mode Zhang Chiyuan 2008-12-09 15:15:47 +00:00
  • f29b25bfc2 Do not include auto-generated snippets in the repo. Zhang Chiyuan 2008-12-07 16:14:54 +00:00
  • 6cbfd16f0e Added snippets for lsl-mode from Xah Lee. Zhang Chiyuan 2008-12-07 16:12:57 +00:00
  • 0ca7da8347 Import snippets for scala-mode and nxml-mode from Anders. Zhang Chiyuan 2008-12-03 15:03:55 +00:00
  • 6774448630 add some snippets from users for html and latex mode Zhang Chiyuan 2008-12-02 04:08:38 +00:00
  • 2205d76ebf Fixed the missing space in the cls snippet for ruby-mode Zhang Chiyuan 2008-11-18 02:26:27 +00:00
  • d93bea8204 fix the bug on expanding a snippet without Zhang Chiyuan 2008-10-20 21:07:18 +00:00
  • 50e7af74fa * Fuckin' more complicated than I thought. Think I'll have to sanitize the `buffer-undo-list' once in a while capitaomorte 2008-09-19 16:40:50 +00:00
  • 9fa6f3533e * Getting there, getting there, yas/push-undo-action-maybe' has to be modified to adapt to new arg list and use pushnew' capitaomorte 2008-09-18 21:43:28 +00:00
  • d117ee3857 * Nice try reviving snippets. capitaomorte 2008-09-18 15:08:20 +00:00
  • 94e6ee5503 * Simplified passing of info between pre and post-command-hook capitaomorte 2008-09-18 08:25:34 +00:00
  • 9aa2cc6486 * Cleaning up some code and preparing for complete snippet undo/redo, with nested snippets capitaomorte 2008-09-17 16:36:30 +00:00
  • aa75b00b55 * Only the full snippet undo/redo missing. Fields are quite OK, I think. capitaomorte 2008-09-15 08:58:48 +00:00
  • 5a3b161219 * Much closer to getting this all working, undo, redo and nested stuff. Works most of the time but: capitaomorte 2008-09-12 18:34:52 +00:00
  • d9cb83dc93 * I like. Very nice. New undo scheme is powerful for completely emulating Textmate behaviour I think. capitaomorte 2008-09-12 13:35:57 +00:00
  • 38ce2aac82 * Nice! Getting there with this scheme, undo and everything! capitaomorte 2008-09-12 13:19:34 +00:00
  • d5695a34cb * Almost removed the field-overlay stuff, preparing for using simple markers. capitaomorte 2008-09-10 17:00:23 +00:00
  • 331812fefb Use eval-when-compile for (require 'cl) Zhang Chiyuan 2008-09-10 12:27:32 +00:00
  • b3f2a95f50 Added snippets for erlang-mode from users Zhang Chiyuan 2008-09-10 12:01:23 +00:00
  • 0732cfc7e6 added csharp, sql snippets from users Zhang Chiyuan 2008-09-10 11:56:57 +00:00
  • 05dc1f1474 * About to simplify this considerably. Deleted previous section on field-level undo, only a stub for better times to come! capitaomorte 2008-09-09 17:25:03 +00:00
  • 058b7333af * Many bugs, gotta look for them later, now have to make my cv... capitaomorte 2008-09-09 14:07:54 +00:00
  • e899cb4f83 Big bugs but it's around! Field level undo obviously needs a massive change.... capitaomorte 2008-09-08 17:06:16 +00:00
  • 4a2db923bb Nested placeholders, more or less working, but had to get rid of the other workaround (which was a bit ugly anyway). Problem is that I have to find another workaround. capitaomorte 2008-09-08 15:29:20 +00:00
  • cc0211316e Checking in still largely failing attempt on nested placeholders,,, capitaomorte 2008-09-08 08:42:14 +00:00
  • 7a0ee29afa Trying nested placeholders capitaomorte 2008-09-08 08:40:01 +00:00
  • bfe0255fd1 Update changelog for issue 16 Zhang Chiyuan 2008-09-02 13:11:14 +00:00
  • 535a1ef314 Added $> support, fixed issue 16 Zhang Chiyuan 2008-09-02 13:06:51 +00:00
  • cca2df173d * Added a new section "Field-level undo functionality" to correct issue 33. capitaomorte 2008-08-30 19:33:16 +00:00
  • b8e187b5b6 * Fixed issue 28, http://code.google.com/p/yasnippet/issues/detail?id=28 capitaomorte 2008-08-22 17:09:16 +00:00
  • e6276da02a Raise an error when yas/load-directory get a parameter that is not a directory. Zhang Chiyuan 2008-08-20 15:32:02 +00:00
  • 2b6dab409c Added several snippets for erlang-mode. Thanks hitesh Zhang Chiyuan 2008-08-20 02:10:57 +00:00
  • 59d35739fa Added a smarter ruby-mode class snippet Zhang Chiyuan 2008-08-11 23:59:51 +00:00
  • 36184e0bc7 forget to commit for 0.5.6? Zhang Chiyuan 2008-08-08 05:04:42 +00:00
  • de67b5802f Make the environment of elisp evaluation more friendly to (current-column) Zhang Chiyuan 2008-08-06 08:52:36 +00:00
  • 1ad8d82ac9 fixed the regular expression bug in python-mode snippets. Zhang Chiyuan 2008-08-01 07:51:16 +00:00
  • b3aa297b95 use full key extension as "name" when no "name" property defined. Zhang Chiyuan 2008-08-01 05:04:47 +00:00
  • e9cd192bda Use filename for snippet name if no "name" property is defined. Zhang Chiyuan 2008-07-31 07:05:53 +00:00
  • 6ea153b0df add markdown-mode to known modes Zhang Chiyuan 2008-06-18 04:06:26 +00:00
  • 1f62f9760f Added snippets for markdown-mode from Peng Deng. Zhang Chiyuan 2008-06-18 04:05:03 +00:00
  • fc059912e9 Avoid gcc warning of cc-mode 'main' snippet Zhang Chiyuan 2008-05-29 04:10:56 +00:00
  • 395e0a93e7 Added directory to yas/root-directory automatically when loaded. Zhang Chiyuan 2008-05-22 05:39:56 +00:00
  • 31865ae984 Oops, forget to check in the latest changes since 0.5.3 Zhang Chiyuan 2008-05-21 06:52:50 +00:00
  • 72790f649d add python-mode-hook to extra-mode-hooks Zhang Chiyuan 2008-05-15 02:04:29 +00:00
  • 4a178dadd8 Added ox-mode-hook to extra-mode-hooks Zhang Chiyuan 2008-05-13 23:09:26 +00:00
  • 85228b17d8 include html snippets from JimmyWu Zhang Chiyuan 2008-05-10 05:15:00 +00:00
  • bd82705b0d fix a bug of condition system Zhang Chiyuan 2008-05-02 15:32:19 +00:00
  • baaf76e7f6 remove the looking-back condition, some old emacs don't have looking-back function. Zhang Chiyuan 2008-05-01 03:26:14 +00:00
  • 0e1456f4b8 fix a bug in condition system. Zhang Chiyuan 2008-05-01 03:21:32 +00:00