[TxMt] Re: OCaml scoping

Allan Odgaard mailinglist at textmate.org
Sat Dec 6 11:14:20 UTC 2008


On 3 Dec 2008, at 18:19, Alexy Khrabrov wrote:

> I see that OCaml bundle knows which function we're in, as it's shown
> in the lower right.  Yet the fold handles are all screwed up and don't
> do no foldin', and selecting [Scope] in the bundle editor always
> selects the whole document.  But we know we are in a function!  How
> can we make it a scope?

Without clear end markers, we can’t. The symbol popup may make it look  
like it know what function you are in, but really, it only knows the  
first function prototype above the caret.




More information about the textmate mailing list