[TxMt] Scopes of DOOM!
Allan Odgaard
throw-away-1 at macromates.com
Sat Nov 5 09:43:12 UTC 2005
On 04/11/2005, at 19.58, thomas Aylott wrote:
> Ok, this doesn't seem to be working out in real life.
> [...]
> we've solved 1 problem and created another. oi.
>
> I don't know what the right logic should be.
I see -- I think a solution would be to look at the scope before/
after the selection, and the scope of the first/last character in the
selection, and then use the common prefix of these 4 scopes, as the
scope of the selection.
More information about the textmate
mailing list