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

_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/listinfo/textmate-dev

Reply via email to