Allan Odgaard <mailinglist@...> writes:
If you can’t make it work, post the involved grammar rules, document etc.
After I read your message I tried to isolate an example but everything works as intended now... I hate computers. Problem vanished, not sure how that happened.
But I have an additional question. My trivial routine to get the text is
def get_test_in_scope(the_scope) TextMate.exit_discard unless ENV["TM_SCOPE"].split(" ")\ .include?(the_scope) the_text = STDIN.read return the_text end
(no comments on my coding style please. I know). What if two nested scopes are applicable in the same caret position and I need to capture all the text belonging to the larger scope? I guess I'm out of luck then, since STDIN.read has no way to get the larger area.
Thanks, Piero