On 26 Oct 2008, at 01:25, Piero D'Ancona wrote:
suppose the caret is somewhere inside a scope meta.myscope delimited by two keywords beginmyscope and endmyscope. I need to capture all the text in the region between beginmyscope and endmyscope. I thought the Input type "Selected Text or Scope" might do exactly this, but I'm seeing something different [...]
It should do exactly that, yes (and a few default commands use it, like e.g. the toggle string quotes).
The scope selector of the command though must be the scope you want as input.
If you can’t make it work, post the involved grammar rules, document etc.