textmate / r.tmbundle

TextMate support for R
25 stars 9 forks source link

Bundle doesn't detect differently formatted functions #2

Closed dandante closed 8 years ago

dandante commented 13 years ago

I'm working with code that has functions written like this:

function(args)

{ body of function... }

go here to see this without fomatting: http://pastie.org/1745594

...and the R bundle does not recognize that these are functions--they don't show up in the list of symbols I can jump to in the lower right hand corner of the editing window.

dandante commented 13 years ago

Actually, I meant:

funcName <-
function(arg) {

body of function

}

Please see the pastie for correct formatting: http://pastie.org/pastes/1765702/text

Bibiko commented 12 years ago

The point here is that TM1.x parses line based. Maybe in TM2 we can implement this.

Best, --Hans