randy3k/R-Box

functions starting with `.` not recognized in syntax highlighting

Closed this issue · 3 comments

functions starting with . not recognized in syntax highlighting

Example:

.test_func <- function(foo, bar="world") {
  print(foo)
}

.test_func(foo="hello", bar="there")

I have no issue. Are you using the R Extended syntax?

Yes, using R Extended.
Checkout the screenshot

screen shot 2017-05-18 at 1 08 51 pm

.test_func <- function(foo, bar="world") {
  print(foo)
}

## NOTE no highlighting on function name or args
.test_func(foo="hello", bar="there")


test_func2 <- function(foo, bar="world") {
  print(foo)
}

## NOTE yes highlighting on function name and args
test_func2(foo="hello", bar="there")

Thank for the report. I confirm it, should be fixed now.

closed by b480aa5