[SVN] r10401
Thomas Aylott
oblivious at subtleGradient.com
Mon Aug 11 03:50:42 UTC 2008
Greatly expanded the Word.current_word to allow for using a single regex for both the before and after caret matching. Added a hash direction option which returns the line, everything before the first match as before_match, the left side of the match before the caret, the right side of the match after the caret and everything after the right match as the after_match.
Added unit tests to prove this all actually works ;)
Changed:
U trunk/Support/lib/current_word.rb
More information about the textmate-dev
mailing list