197 Commits

Author SHA1 Message Date
capitaomorte
0e74b208c8 * fixed issue 68
(http://code.google.com/p/yasnippet/issues/detail?id=68)
2009-07-27 10:47:13 +00:00
capitaomorte
b104c6b5ff * Now byte compiles correctly and with no warnings
* added :compile task to Rakefile
   (reported by Christoph Conrad)
2009-07-26 22:11:04 +00:00
capitaomorte
1aadcfae8a * added `yas/also-auto-indent-first-line' defcustom
* added `yas/minor-mode-menu' defvar to prevent possible backtrace
   (reported by Christoph Conrad)
2009-07-26 15:27:26 +00:00
capitaomorte
3b6e9dda59 * Empty fields that are the last of the list *and* match the
snippet's exit are skipped automatically.
* Added a printf snippet to show off. 
* The printf snippet also exhibits the back-adjacent mirror bug
2009-07-25 16:26:27 +00:00
capitaomorte
f40a013dec Last commit before releasing 0.6.0 2009-07-25 11:14:22 +00:00
capitaomorte
b90926499a * escaping now works inside lisp expressions
* new keybindings
* minor fixes
* more doc
2009-07-25 10:50:40 +00:00
capitaomorte
2f21c06622 Cleaning up before release commit... 2009-07-24 19:29:36 +00:00
capitaomorte
102424118e * Release notes and issue list updated
* Little problems fixed
* ruby mode cls snippet fixed
2009-07-24 15:41:12 +00:00
capitaomorte
8dd3a78c01 * Fixed html auto-indent (redesigned yas/indent slightly to collect
all the snipept markers then restore them.
2009-07-24 15:06:09 +00:00
capitaomorte
5ca14b495e * fixed small problem with the `yas/multi-dollar-lisp-expression-regexp'
* only move to the first snippet field after pushing snippet undo actions
2009-07-24 10:24:01 +00:00
capitaomorte
e426fdc73d * small adjustments to yas/choose-value and yas/verify-value 2009-07-23 21:59:37 +00:00
capitaomorte
b2f7e0e102 * added yas/tryout-snippet
* corrected some overlay problems, but the remaining known problems are going to remain for a while...
2009-07-23 13:30:02 +00:00
capitaomorte
111aa25382 taking care of some details 2009-07-22 16:25:12 +00:00
capitaomorte
408413a811 * all prompt fuctions working (tried a bit in text emacs)
* compile-bundle now includes dropdown-list.el and works (in text mode at least)
2009-07-21 13:03:13 +00:00
capitaomorte
4849ac6546 * Finally, the last details, I think, commenting, etc... 2009-07-21 12:31:23 +00:00
capitaomorte
17e7a385f7 * more little bugs with field deletions and adjancencies fixed...
* also the menu problem is fixed now
2009-07-21 10:06:11 +00:00
capitaomorte
5b48e2ec15 * little bugs and the adjacent field problem fixed 2009-07-20 22:08:53 +00:00
capitaomorte
f42d96e2dc * went back to the previous "advance" strategy and have it seems I
have isolated the bug...
2009-07-20 16:39:33 +00:00
capitaomorte
b654545be3 * the marker-insertion-type thing is very very tricky with undo. Will
probably have to go back to my "advance-maybe" strategy (which has
  less bugs), but still I'm commiting this.
2009-07-20 16:27:12 +00:00
capitaomorte
6c5a0fd4fd * bugs fixed, the real testing starts now... 2009-07-20 14:26:47 +00:00
capitaomorte
84e9294074 * having trouble with that menu... 2009-07-20 06:36:26 +00:00
capitaomorte
fe8dd70072 * a million new bugs introduced by a million new features, enough for today... 2009-07-19 17:00:11 +00:00
capitaomorte
02117f65e6 * better menu, more bugs found/fixed
* auto-indent bug and a lot more stuff could be made much easier if I
  had known about marker-insertion-type s!!
2009-07-17 14:40:44 +00:00
capitaomorte
399852d10a * as one of the final touches, have to make the menu a
"easy-define-menu" thing
2009-07-16 21:07:37 +00:00
capitaomorte
c454bd2451 * merged from trunk finally (expect more bugs)
* fixed indentation working
* auto-indentation apparently working with dirty hack
* , but did get to see the famous python bug twice,
* contrived existing python snippets are working, even with `yas/indent-line' set to 'auto
* fixed more bugs...
2009-07-16 16:00:02 +00:00
capitaomorte
c15f037874 * enhanced good grace and fixed `yas/trigger-in-field' bug 2009-07-16 06:23:05 +00:00
capitaomorte
5c7e870891 Got to:
* get fixed indentation working
  * merge from trunk
  * try to implement snippet-local vars
  * implement a command `find-snippet-file' that defaults to the dir and sets `yas/snippet-editing-mode'
2009-07-15 16:18:44 +00:00
capitaomorte
63378d00b2 * replaced <tab> by TAB and fixed a small bug in $> indendation 2009-07-15 07:23:13 +00:00
capitaomorte
a1a4bfc773 * "$>" now working
* `yas/hippie-try-expand' fixed to work with new undo system
2009-07-15 07:02:13 +00:00
capitaomorte
4429104dfc * more bug fixes and a global mode 2009-07-14 17:07:42 +00:00
capitaomorte
0ee010ce65 * working on indentation... 2009-07-14 12:57:32 +00:00
capitaomorte
bc7acbaf99 * typed a lot of cleanup code, probably many many bugs
* at least most of the customization group is here I think
* still got a lot to do for the minor mode (including making it global)
* TODO: write wrap regions
* TODO: write per-snippet variable overrides
* goto sleep
2009-07-13 22:19:41 +00:00
capitaomorte
0622075ba9 * yas/next-field' rewritten, now yas/expand' fails... 2009-07-13 07:13:58 +00:00
capitaomorte
953ffbf299 * `yas/next-field' needs to be rewritten to account for unnumbered fields 2009-07-12 20:18:40 +00:00
capitaomorte
3dd0ba6106 * Butchered template choosing code
TODO:

* Still some old syntax to take care of (simple ${field} without number)
* Add messages to snippet events, not just errors
* fix many bugs
* make the customization group
* merge from trunk
...
2009-07-12 19:59:32 +00:00
capitaomorte
01c626efbd * started attack on template code as well
* still got indenting to do
2009-07-11 18:09:25 +00:00
capitaomorte
ad570bf9e5 * region now represented as `yas/deleted-text'
* syntax now correctly backward compatible
* more little bugs fixed...
2009-07-11 17:29:46 +00:00
capitaomorte
555897a4ad * corrected another problem when evaling user elisp with errors 2009-07-11 00:59:27 +00:00
capitaomorte
10e8b41f7c * fixed two small bugs introduced earlier, have to retest stacked
expansion once in a while, wish I had unit tests...
2009-07-11 00:31:56 +00:00
capitaomorte
daf3c788a5 * a little cheating sometimes inserts a newline at end of the buffer... 2009-07-10 15:37:21 +00:00
capitaomorte
460bf76bae * Some little bug fixes, regexps could be cleaner, but oh well... 2009-07-09 16:31:07 +00:00
capitaomorte
39aab51b28 * implemented `yas/points-to-markers' and friend, look OK.
* mirrors only update when something actually changes

* cant reproduce strange undo/redo bug that I think I saw

* escapes apparently working OK

* expressions in fields working OK, but now tested extensively

TODO: Implement the per-snippet exit hook just like the "condition"
      Handle indent the best possible way
      Merge changes from trunk
2009-07-09 16:12:48 +00:00
capitaomorte
dec6fcda41 * primary field transformation working more or less, but seem to have
screwed with undo/redo, shouldn't be too hard...
2009-07-08 13:24:40 +00:00
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