> Does highlightnig methods have the same story or it is valid request?

@Yanpas It would have to be a request to Scintilla project. The Python lexer 
can do this, but it might not be as easy for C++ lexer as Python uses `def` to 
define functions, where C++ is a lot harder. One vexing example, which I don't 
think can be determined without proper parsing of the code, is like:

```c++
static vartype varname(initval);
static returntype funcname(argtype);
```

I'm sure there's many more examples to make distinguishing simple enough for a 
dumb lexer.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/876#issuecomment-173608864

Reply via email to